All Questions

Filter by
Sorted by
Tagged with
-1
votes
1answer
21 views

How to write inner join using posts_clauses?

Can someone please show me how I can achieve the same result with this SQL: SELECT * FROM wp_2_posts INNER JOIN wp_2_icl_translations ON wp_2_icl_translations.element_id = wp_2_posts.id AND ...
0
votes
0answers
12 views

The woocommerce attribute filter loads very slowly, how to solve [closed]

I use wordpress to set up The attribute filter of woocommerce, when used, is loaded for at least 2 seconds, which is very slow. https://www.sasaspa.com/collectiontmr His website does not need to ...
0
votes
1answer
19 views

Requiring a Visitor to Enter a Password Each Time They visit a Page

the pandemic has changed my role within my company so that I'm now doing all of our WordPress development, despite having zero training with WordPress. Feel free to include any comments about my boss'...
0
votes
1answer
20 views

How To Write An Inner Join With WP Query

I have a ACF relationship field for a custom post type, properties. Moreover, the content of these properties can either be in English or Spanish. When I use a ACF relationship field to associate ...
0
votes
1answer
11 views

Where do I remove admin order fields (unset doesn't work)

I have built shop based on Woocommerce. In admin order, I need to disable state field. It shows state code, not full name, so it doesn't really matter. When you enter certain order in admin page, ...
0
votes
0answers
5 views

Add a “Received” Button to Customer Account Order Actions

I want to Add a "Received" Button to Customer Account Order Actions. I can't seem to find how to do it and how it could work.I tried adding this code to functions but I can't understand how it works ...
0
votes
0answers
11 views

Best free spam protection plugin? [closed]

I know this has been discussed a lot. But I can't find a list of the BEST free spam protection plugins in 2020. I'm getting a lot of spam from my contact forms. I can't afford to pay for Akismet. And ...
-1
votes
0answers
13 views

Is there a similar plugin for woocommerce that can optimize the filter [closed]

I use wordpress The attribute filter of woocommerce, when used, is loaded for at least 2 seconds, which is very slow. Does anyone know which plug-in can be similar to the product page of this website? ...
0
votes
1answer
22 views

CSS gap issue in div element

The items are not listed in order there is a gap between item listed how to fix this. Screenshot: https://prnt.sc/sphfig <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6"> ...
0
votes
0answers
6 views

How to fix wrong attribute error for Visual Composer Grid Builder?

Hello I am facing this issue in editing media grid layout of Visual Composer V6.2.2. Below is the error I am getting Fatal error: Uncaught Exception: Wrong attribute for 'vc_single_image' shortcode. ...
0
votes
1answer
12 views

exclude particular category in api

How do I exclude a particular category in the API? For all categories - I may use the following: https://www.example.com/?rest_route=/wp/v2/posts&per_page=100 What if I need across all the ...
0
votes
1answer
61 views
+50

Pagination not work on page but work on category

i am using kriesi Pagination, it is working perfectly fine category page but it when i do similar query on page then it is not working. any idea why ? function kriesi_pagination($pages = '', $range = ...
0
votes
1answer
10 views

Change user metadata on registration (show_admin_bar_front = false)

This is my first contact with WP Development, and I'm trying to not display the WP admin bar after the registration. Since it's metadata called 'show_admin_bar-front', I'm updating that right after ...
0
votes
1answer
18 views

How to Download Minimum Requirement of WordPress (Not Themes )

This is not about themes! but WP core files. I am using WordPress just for sake of it's security and Routing engine. I do not need any slat and surges on top WP like commenting, language,.... What I ...
0
votes
0answers
9 views

Web forwarding/masking confusion

This is a bit similar to other questions regarding masking and forwarding, but not exactly the same (as far as I can tell). So, apologies if I've overlooked something... I have a (wordpress) website, ...
0
votes
1answer
18 views

wordpress can't find single-project page

I created a project form for adding projects,but when I create it,a wrong link create this is how I created project form: add_action('init' , 'create_project'); function create_project() { $...
0
votes
1answer
16 views

Change hover to onclick on menu

I've got a local website on WP using DIVI where a header menu got some "menu-item-has-children". In way to view these sub-menu, I just have to hover on it and when mouseout the sub-menu disappear. ...
0
votes
1answer
27 views

Difference between last_name and user_lastname

As per documentation, the method get_the_author_meta() has a $field argument with the following possible values: admin_color aim comment_shortcuts description display_name first_name ID jabber ...
0
votes
0answers
9 views

BS Authorize.net Problem (Payment in hanging if customers is not logged in)

I am using BS Authorize.net plugin (https://wordpress.org/plugins/bs-authorize-net/) as a payment gateway in woocommerce which allows payment using credit card, Echeck and paypal. It works fine for ...
0
votes
0answers
14 views

Correct way adding External classes to Custom Post type and output their methods to template

So I'm creating Custom Post Type, and I have 3 external classes with namespace Test\Events\Model; Those 3 classes are final class Location, final class Event, and final class Person. Example of method:...
0
votes
1answer
16 views

Find all the places where a block type is used

I have a plugin installed that adds additional custom block types that can be used in the Gutenberg editor (the plugin is called Block Lab). Now I want to remove that plugin. For that, I have to ...
0
votes
0answers
11 views

How to check the date of a post is within the user membeship start date - end date

I have to modify memberships plugin. A member should be able to see posts (i am talking about posts in the specific category which i limit only for the members), even within this category a user can ...
1
vote
1answer
18 views

Access $post object when adding custom columns to list table

We've got a custom post type called 'products' which stores all of its additional meta data in a separate table for performance reasons (we're expecting 1000s of records). We have extended the query ...
0
votes
0answers
16 views

Retrieving X-WP-Total header using cURL

I am accessing a WP site from an outside app and using the restAPI routes / endpoints to work with posts, pages, comments, users, etc... I am wondering how I can change / use the below cURL to ...
0
votes
0answers
20 views

How to override archive-products.php in child theme when elementor plugin is active?

I am using the Elementor Plugin in WordPress. I am using a child theme. In function.php file I have added theme support for woocommerce using add_themesupport('woocommerce') and create folder name is ...
0
votes
0answers
18 views

saving custom meta fields multidimensional array

I have dynamic meta fields with multi select option each field contains select menu with multiple select feature user can add as much options as they can so i want to save it in the db but not sure ...
0
votes
0answers
11 views

Sender e-mail address, for new order email to customer, is suddenly wrong

I have an e-shop on WooCommerce version 4.1.1 and the past 2 days now it sends the new order email to customers from my personal administrator email, that belongs to another domain, instead of the ...
0
votes
1answer
19 views

WPML - Stop language redirection in initial load

We have a multilingual website which is connected with English & Arabic using WPML plugin in WordPress. As a default behavior, the website is redirecting to /en/ version which I need to stop, but ...
0
votes
0answers
11 views

How to apply onMerge in a block Edit class

I'm making a custom paragraph block, but I'm having trouble allowing it to be merged with another of the same block type. I've successfully implemented the onSplit function (paired with onReplace) by ...
0
votes
1answer
16 views

How to add more default colors?

I just reinstalled my website with the same theme and now the other default colors are gone. Only black is left. Is there a way to add more default colors?
0
votes
0answers
20 views

How do I add a new item to this menu on the Add New Page section?

This menu has 5 items: All, Mine, Published, Draft, Trash I want to add a new one FrontPage, in red, that will list pages with specific ID, like 43, 32, 11, 344, etc. If the answer is complex, just ...
0
votes
0answers
6 views

Upload wp-content/upload to other Host Storage via FTP [closed]

i Have file storage for upload Image My Website www.site.com and my Storage FTP Host cdn.site.com i want automatic upload via FTP automaticly in other Host Just Upload image . i use two plugin but ...
0
votes
0answers
11 views

wp_redirect function is not working

I am using this code to redirect. I am using these lines of codes in the template file. $url = 'example.com/mijn-profiel/'; wp_redirect($url); exit(); What should I use to do it to make it happen?
1
vote
3answers
18 views

Stylesheet not linking

So I have the following structure in my theme: Themes/ - theme-name/ -- functions.php -- style.css -- page-directories.php For some reason, I'm unable to link the style.css to be included ...
0
votes
1answer
10 views

ArgumentCountError caused by wp-includes/class-wp-hook.php

when we give $depth in argument of nav_menu_css_class it gives me argument error. Here is my code: add_filter( 'nav_menu_css_class' , 'eodwp_menu_item_class',10 ,3 ); function ...
0
votes
0answers
17 views

Any way to easily change a website template to a JSON file?

I am new to owning a website. I want to use the template ioboot. How can I easily change the contents so it is in all one json file to be able to upload it to AWS?
0
votes
1answer
25 views

Getting Fatal error: Uncaught Error: Call to undefined function plugin_dir_path() when linking to another file within my wordpress plugin

I created a plugin TESTPLUGIN and added it on wordpress admin menu. I can access the plugin from the admin menu just well. The problem I am having is how to link to another file within the plugin. The ...
0
votes
0answers
20 views

Using JS .show() and .hide() causes hidden div to not be displayed properly

So I have a drop down menu coded in HTML as follows <Select id="ContentSelector"> <option value="Courses">Courses</option> <option value="Podcourses">Podcourses</...
0
votes
1answer
8 views

Trying to modify the background of a form on a specific page

Here's my CSS: .page-id-9399 body #gform_wrapper_3 { background-color: #363c42; } This is related to a Gravity Forms (contact form submission). I'd like the background of the FORM to be the ...
0
votes
0answers
8 views

Using the Mailchimp plugin for woocommerce, How do I tag/segment by user type?

I am using Woocommerce Mailchimp and I also have multiple user types or roles. I want to be able to tag/segment by user type/role so I can send different marketing material to different user types. ...
0
votes
0answers
5 views

Change the User/ Author of the Products

I have a wordpress site, with plugins of Woocommerce and WCFM. I imported multiple products as an admin and also published them. As a admin, I would like to assign the products to these vendors. ...
0
votes
0answers
12 views

Changing cache update rate

Im using mylisting theme in wordpress. in listing ordering, one option is Random (cached and updated every few hours). How can I adjust the update rate from few hours to few minutes ? or even remove ...
0
votes
0answers
17 views

Is it possible to add the product id, to each item, in the cart table with WooCommerce?

I have my cart page working fine, but I need each item to have a class with its id or category (because I need to add some css only to certain products). Is this possible? Thank you.
0
votes
1answer
47 views

How to add taxonomy to a post using WP REST API?

I'm using REST API, but I have a taxonomy called Ingredients to my Product custom post type. I can create a Product posting to the endpoing /wp-json/wp/v2/produtos, but how can I attach a custom ...
0
votes
1answer
14 views

event/callback on block update?

I am attempting to put together a custom block that produces an embed from a third party. The embed is generated by an external script scanning for an element with a data attribute holding a unique ...
0
votes
0answers
11 views

PHP Error message Upload images to remote server

I'm trying to fix an old plugin that is giving me a php error. I've work with website developer for years but my knowledge of php is limited. If anyone can get me advice I would appreciate it. The ...
0
votes
0answers
16 views

Hello everyone! Is there a function to call the wordpress loader?

I would like how can I run my wordpress loader on an Ajax load when I send the data I want the loader to appear, is there any function to call the wordpress loader?
0
votes
1answer
13 views

How to get a post views count using 'WordPress popular posts' plugin

I am using 'WordPress popular posts' plugin, and I'm trying to get post total views by ID using: wpp_get_mostpopular() function. Is there anyway to achieve that? or is it even possible?
0
votes
1answer
23 views

How to transform WordPress user role code to WP shortcode?

I want to learn how to create a WordPress shortcode that checks for a user role. If a WP user has user role 'member1', then show the content. Otherwise, show nothing. This is the WordPress code I ...
0
votes
0answers
6 views

i need a button to change my status [closed]

I am searching for a plugin that change the status of my client. So there are different clients and on thier profile I need some kind of button to change the status "not paid" to "paid" or vice versa. ...

15 30 50 per page
1
4 5
6
7 8
2076