All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

disable fontawesome style in wordpress float menu plugin

i want disable load fontawesome file by Wordpress plugin( Float menu ). but my code not working!!! add_action( 'wp_print_styles', 'masoud_nkh_wp_styles', 100); function masoud_nkh_wp_styles() { ...
0
votes
2answers
19 views

How to use a custom hook

I try to create and run a custom hook on my Wordpress site. In the header.php file I used do_action('somestuff'); On my home.php and page.php I does the add_action like add_action('somestuff', '...
0
votes
1answer
8 views

How to use register_sidebar's 'before_widget' unique id generator into its other parameters like 'before_title'?

I'm trying to create a dynamic sidebar that uses bootstrap 4 accordion with the widget's title as the toggle link and the widget content as the accordion's content: Planned Layout: <div class="...
0
votes
0answers
9 views

How to change login and registration url that are made by the WPAdverts - Classifieds Plugin? [closed]

I'm using WPAdverts - Classifieds Plugin for my website. On the add ads page shows the login URL, when we click on that takes us to the WordPress admin URL. I have customer login and sign up pages. I ...
0
votes
1answer
16 views

PHP calling AJAX function that relies on passed PHP function values not working

In reading I am not sure if the issue below could have something to do with needing a custom wordpress ajax handler? All of these functions are inside my functions.php file. I have a couple of PHP ...
0
votes
0answers
6 views

Add Woocommerce Fast and standard delivery optin [closed]

I want to add 2 shipping or delivery options to my woocommerce store. Example, 1) Standard delivery( 21 days) and charges 25$. 2) Fast delivery(15 days) and charges 50$. When a customer chooses one ...
0
votes
0answers
12 views

display comment type count of post single page

I have comment type. when author marks any standart comment. standart comment convert to sticky comment type. but how can I display sticky comment type. This stikcy comment is used as accepted answer ...
0
votes
0answers
11 views

WordPress Translate Date Function is giving Error

I have a function for translating wordpress date and numbers etc. I am not sure what's wrong with this function. The function works perfectly but wordpress shows error on pages with custom fields ...
1
vote
1answer
28 views

browser caching not disabled after disabling in .htaccess

I am having a strange problem in one of my wordpress websites. The problem is that when a webpage is rendered once, editing that page won't be effected afterwards. So no matter how many times you ...
0
votes
0answers
17 views

WooCommerce Checkout Issue specific to Instagram In-App Browser Workaround for Apache [closed]

I’m having an issue with Instagram in-app Browser. When I click on a tagged product on my Instagram (@zizacare) or the link in bio, it pulls up an in app browser with my home page but when I add a ...
0
votes
0answers
16 views

Control over custom post types on a specific page

I'm looking for an option to show a specific Custom post type on a specific page. In a category there are 10 posts but on the homepage I just want to show for example 3 specific post types of that ...
0
votes
1answer
12 views

Upload Custom Mime Types in WordPress (SVG, WebP)

I have a plugin I created to allow for us to add additional image types (webp, svg, etc). For some reason it is failing and will not allow me to add svg. Could use an extra set of eyes on this one ...
0
votes
1answer
38 views

How can I check if the first block is an image aligned left or right?

I need to know if the first block is an image and if it's aligned right or left. I printed the $first_block_attrs variable and can see the output is Array ( [align] => center [id] => 450 [...
0
votes
0answers
11 views

Contact Form 7 Fields concatenation

The case I have Contact Form 7 installed in a wordpress site and I use en external sms service to send sms messages in mobile phones when website visitors submit a specific form I did many ...
0
votes
0answers
14 views

HSTS header not being added correctly

I've added the following code to my child theme's functions.php in order to add a HSTS header to my website: function tg_enable_strict_transport_security_hsts_header_wordpress() { header( 'Strict-...
0
votes
1answer
12 views

How to save unsuccessful form submissions locally in WordPress (contact form 7)

I use Contact form 7 and I was wondering if there is a way to save the information filled out in the form even if the form does not get submitted. Few days ago there was something wrong with the email ...
-1
votes
0answers
7 views

How to create a registration manual approval form where customers having a specific domain in email gets automatically approved?

Please tell me is there any way to do this. I don't know the coding please tell if there are any plugins for that.
0
votes
0answers
8 views

Auto order status update gives “Order properties should not be accessed directly” message

All versions are latest as at posting date. I have copied the following snippet from the Woocommerce docs at https://docs.woocommerce.com/document/automatically-complete-orders/ add_action( '...
1
vote
1answer
9 views

Wordpress blog posts permalinks giving 404 on nginx

I have the following nginx configuration to serve blog on /blog/ URL. server { listen 80; server_name example.in www.example.in; root /var/www/website; index index....
0
votes
1answer
25 views

Difference between admin and user admin

What is the difference bewteen the Admin and User Admin concepts? You can find them in different places, like: _user_admin_menu or is_user_admin() _admin_menu or is_admin() I did not find a clear ...
0
votes
1answer
35 views

Add multiple images to a custom block

I've written the following custom block that allows a user to create a simple slider and add an image that is then wrapped inside a slider item element. I've opted to make this a single block rather ...
0
votes
0answers
6 views

how to create paginate links for category

i have created paginate link for category post which show related posts by category but when i click on next page showing it error: page not found. i write the code for it term_id; // print_r($...
0
votes
0answers
14 views

How to show childs of certain custom post type in option list?

I have a custom post type and each post in this custom post type has many childs. I have a code that show every child that is child of the parent in child's page. (parent: post 1 , childs: sub1-post, ...
-1
votes
0answers
19 views

Edit Woocommerce Subscription Start Date + Frequency at Checkout [closed]

I have a Woocommerce site running Woocommerce Subscriptions plugin. The site only has one simple subscription, limited to one per user. I want to allow the user to set their own start time and ...
0
votes
0answers
11 views

Get attribute label on cart page Woocommerce

Issue/Desired Result I want to get the attribute_label on the cart page of my Woocommerce store, for example, 'Size'. My current code is giving me the slug, for example, 'Attribute_size'. How can I ...
0
votes
0answers
11 views

How to change the site directory to the directory of another site in VestaCP?

How to change the site directory to another site directory in VestaCP? As a result, another site should show files from another site
0
votes
0answers
15 views

line-clamp css not working

so i have a blog and i would like to use line clamp to set a max rows for the title. I'm using this css, but the line clamp displays red and is not recognized. .slide-entry-title{ overflow: hidden;...
0
votes
3answers
22 views

Change Wordpress URL

can someone help me please, i have created site in WP, get domain and hosting. Now I bought another domain (not and hosting too) and I do not know how to change my site's url. From, example, www....
0
votes
0answers
11 views

WordPress plugin called “YITH WooCommerce Questions and Answers Premium”, Its data is not showing in REST API's [closed]

I am using a plugin to add questions and answers to Woocomerce products, it works fine on webiste but when I try to get data through API those questions and answers are not in cluded in API. And this ...
0
votes
0answers
23 views

Header get styled properly after appearance, how can I figure out that why styles working after page loads

I am facing an issue that I am trying to fix but I am unable to figure out the exact issue actually. Here is the URL >> https://cutt.ly/Cvhgsi8 The problem is, that when the page loads, the head ...
0
votes
0answers
6 views

Easy Digital Downloads - Cart not working on AWS hosting

We have a site hosted on AWS. But, the Easy Digital Downloads cart is not working properly. Items added to cart disappears and the items are not removed as well. Also, there is no any cache plugin ...
0
votes
1answer
23 views

Change Successful password reset message

After password is reset in Wordpress, the message comes as "Your password has been reset. Login" How do I customise this message? do_action( 'validate_password_reset', $errors, $user ...
0
votes
0answers
13 views

PHP issue passing results of variables from one function to another in same file but works on other pages [duplicate]

I am having an issue accessing my global variables inside the same file where the variables exist. However, they work just fine when I call the same variable in other files. To call the variable in ...
0
votes
0answers
13 views

I lost all the work that I updated on my wordpress between last weeek and today [closed]

The work on one of my pages has reverted to how it was last week. All the new works that I added this week up to today are all gone.
0
votes
0answers
15 views

How to add form result to page [closed]

I would like to do the following: – On a page, a visitor can fill in text fields, images, tags… similar to forms – The issue of the form is added and displayed on a second page in a table with all ...
0
votes
0answers
15 views

Custom post types listing in all themes

I'm sorry, I speak a little English. My plugin: ~/wp-content/plugins/examplee/examplee.php <?php /** * Plugin Name: Examplee */ function create_posttype() { ...
0
votes
2answers
31 views

Display post changelog in post

I need to show history of post changes (post revisions) at the end of post content. I saw tips about "Last modified by/date" feature but I need to show the table of all changes (revisions) ...
0
votes
0answers
17 views

Changing site identity logo with ACF options fields

I'm building an options page with ACF and I want the user to be able to update Site info via that menu. I'm able to update blogname and blogdescription with below method, but I don't really even know ...
0
votes
1answer
19 views

Archive page for taxonomy terms

How can I create a archive over terms from a custom taxonomy like there is for custom post types? domain.com/taxonomy is empty/404, while domain.com/cpt shows all posts for that CPT. I know I could ...
-1
votes
0answers
15 views

is wordpress good for multi product price comparison website like pricerunner and idealo? [closed]

I am not a developer and I am planning to start a price/product comparison website. I don't have that much budget. is it possible to add all the features that pricerunner.com has? How will be the ...
0
votes
0answers
10 views

Error message when I'm on the login page with wordpress: cookies blocked

When I'm on the Login page in production, I've the cookies blocked error. Screencapture: https://www.pythonthree.com/wp-content/uploads/2020/11/cookies-are-blocked-due-to-unexpected-output-...
0
votes
1answer
17 views

Append a parametter at first or last to a certain URL

I want to change a URL and want to add a parameter to the last or first of that URL. For example I have URL like below https://example.com/search/?cityId=49409&bedrooms=0&bathCount=0&...
0
votes
0answers
7 views

Woocomerce plugin is not working properly [closed]

Hello recently i had to rollback woocomerce plugin's version due incompatibility with openpay plugin unfortunately this just made my full system unstable and now the shop page shows blank and cant ...
0
votes
1answer
6 views

template_include doesn't work with child theme

I am using this code and it works perfectly but it does not work if I activate the child theme how can I solve? add_filter( 'template_include', 'wpse_template_include' ); function ...
0
votes
0answers
13 views

Disable customer Login

I'm looking for a way to disable the login but only for customers. I know I can deactivate their accounts but I need to do that in bulk. Thanks in advance!
0
votes
0answers
5 views

How to disable WP emoji UTF8 by img replacement? [duplicate]

I use some UTF-8 emojis like 😋 Problem: WP changes that automtaically into img ex: https://s.w.org/images/core/emoji/13.0.1/svg/1f60e.svg How can I disabled that ? I need my UFT8 chars and not svg ...
0
votes
0answers
7 views

Override search results sort order conditionally

I'm new to WordPress Development. I have a client I'm working with that uses a third-party plugin to curate search results (ElasticPress), however, they are looking for additional buttons on the ...
0
votes
0answers
17 views

How to stop the custom post type URL from the google search?

I don't have any issue with custom post type in the admin panel. It's working perfectly. I have a small issue with search on google, I search my domain on google and I found the below output. Note: ...
-1
votes
0answers
14 views

Advanced filtering with in page navigation

Hi I'm looking to add something similar to the "find your adventure" feature on this site: https://www.oars.com/ I realize this was likely custom-built, but if anyone knows of a plugin to ...
0
votes
1answer
36 views

Whitelist a single SVG for use in post_content

I have a block built in Gutenberg - in it I use an Icon element from '@wordpress/components' I use a single arrow to create a dropdown which renders as an SVG. Of course when anyone who is not a super ...

15 30 50 per page