All Questions

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

How to integrate Amazon Product Advertising API with Woocommerce (real-time on-demand) instead of storing Amazon data locally? [closed]

In order to use Woocommerce strictly to manage external products on Amazon, has historically required importing data, and then running daily updates searching for changes to dynamic bits (prices, ...
0
votes
1answer
26 views

how much information can we hide when using wordpress cms?

Just have my fist website up and running with WordPress. Using the tool like Wappalyzer and WPScan. A lot of webite is being exposed. I already use hide my wp plugin(s). but still received this ...
0
votes
0answers
13 views

Show custom taxaomy as a product meta

I'm new to custom taxonomy. I have created a taxonomy called 'collections", and under collections, I have items like blue shirts, suede shoes, etc. I have a product called a low-top lace-up suede ...
0
votes
0answers
39 views

Query post ordered by meta value that show first post that contained a tag

I have a query post for my CPT 'listing' that order posts by value of price contained on meta key. Now I'd like to add the possibility to show in the loop first posts that has a specific tag (o ...
0
votes
0answers
7 views

Two methods for disabling autosave is not working

I'm trying to turn off autosave but it's still doing it. In wp-config.php I have: define( 'WP_POST_REVISIONS', 3 ); define('AUTOSAVE_INTERVAL', 86400); and in functions.php I have: add_action( '...
0
votes
0answers
7 views

multisite installed on subdomain now want another subsite on subdirectory

My WP multisite network is installed on subdomains like site1.domain.com so my main domain is: domain.com And site1.domain.com is a subsite, Then I mapped xyz.com domain to this subsite. Now I want ...
0
votes
0answers
8 views

Error after changing multisite URL

After changing website url from IP address to a domain name, the following error is displayed when entering the new url: Error establishing a database connection However, if "/Wordpress" is ...
0
votes
0answers
13 views

Pass a PHP function to javascript

I had a page view counter function in PHP that simply increments a single meta key value for each post upon visit. The problem I endured is that it doesn't work when the page is cached, of course. Is ...
0
votes
0answers
5 views

How to hide bottom navigation (previous/next post) in Custom Post Type plugin in WordPress?

I need to hide Previous and Next navigation links in Custom Post Types Plugin. I have searched at all places in that plugin but couldn't find the setting. I know that I can do it with a simple CSS ...
0
votes
0answers
5 views

Quicklatex Plugin - Rendering Problems when logged in as admin

If I load the website deep-mind.org as a visitor (i.e. without being logged in as an admin), Quicklatex is working fine - all formulas and figures are rendered as they should be: If I, however, load ...
0
votes
0answers
12 views

How do I edit the terms output args or array data?

This correctly prints the terms with images but the wrong order: <?php $terms = get_the_terms( $post->ID , 'wpsl_store_category' ); foreach ( $terms as $term ) { echo '<a href="'...
0
votes
0answers
9 views

Query data after an Ajax insert

After a successful insertion with Ajax of an entry I would like to see what the ID and url of that same entry is and show it in a modal window Any way to get that data? <script> ...
0
votes
0answers
8 views

How to delete all images from code in all post_content

In the past I occationally used this sql query to update links in post_content: update wp_posts set post_content = replace(post_content,'domain.org/Maries','maries.no'); I wonder if I could use a ...
0
votes
1answer
10 views

Gutenberg build error: You may need an appropriate loader to handle this file type SCSS

I had a plugin up and running with a scss to css compiler. Suddenly after I moved a few files into a better structure I get this error while building the block: ERROR in ./blocks/random-game/src/style....
0
votes
0answers
7 views

How to remove font awesome from loading in wp theme

Question: How to remove font awesome from loading in theme and replace social icons with images? Theme Hueman - WP Multisite install What I did: In the functions.php of a child theme from Hueman Theme,...
0
votes
1answer
10 views

Group Product Types

I am using Advanced Custom Fields and I am attempting to group together the custom post types with a similar value from a dropdown field. As an example. Other would-be its own heading and projectors ...
0
votes
0answers
6 views

how long do restored versions take to go live?

I just restored a page to a version from august of this year but I can see on the live site it's still there. I refreshed the page and cleared the cache however it is still showing on the live site. ...
0
votes
1answer
13 views

Making a child theme for "Airi"

I had chosen the Airi theme for my WordPress website. I planned to make some customizations and decided to use a child theme. I had studied the WordPress documentation page https://developer.wordpress....
0
votes
1answer
9 views

Get the URL of the page from which an ajax request has been launched within ajax callback

I'm calling a server-side function written in PHP via wp-ajax. The server-side function eventually redirects to another page for an authentication step, and then redirects back to the initially shown ...
0
votes
1answer
33 views

How to send a php var to jQuery Ajax call with two different file

I need to send a private e-mail address from a php file (page.php) to an Ajax Call in an other jquery file (sender.js). This e-mail address must be invisible to user/or website until the user get an ...
0
votes
1answer
25 views

How can i add to a existing wp query

Basically what I would like to achieve is I am building a property site and would like to build a custom search form that will search for tags and show products relating to the tags selected. Do I ...
0
votes
0answers
9 views

Browser Error Message: Firefox Has Blocked Parts Of This Page That Are Not Secure

Every now and again I keep getting this error message from firefox and other browsers like chrome and edge saying that parts of my page that are not secure are blocked and when I check to see what the ...
0
votes
0answers
13 views

Gutenberg Blocks and get_option() for styling

I'm creating a Gutenberg block and I'm trying to customize a button's style (background color, text color, etc.) and it's inner text with hexcode set in an options menu. What's the best way to access ...
0
votes
1answer
20 views

Unable to return values from function

The function below is intended to return a list of the WordPress submenu pages. function get_admin_menus() { global $submenu, $menu, $pagenow; if ( current_user_can('manage_options') ) { ...
0
votes
1answer
15 views

How to hide a woocommerce setting tab from admin & shop manager?

I want to hide specific tabs in woocommerce setting. I read this article: https://stackoverflow.com/questions/36779307/hide-a-woocommerce-setting-tab It worked for shop manager only. I want to hide ...
0
votes
0answers
14 views

Wordpress Ajax form filter | Search by title with ajax form, breaks the other filters

I have implemented a form within my code that gives the user the possibility to filter the products according to his needs. The form was created in ajax, to increase the user experience level of the ...
1
vote
0answers
10 views

Is it possible to access the wp-admin from one instance while keeping WP_HOME pointing to the balancing url?

I have a Wordpress running in a load balancer scheme with two instances. For security reasons, i've decided to block wp admin access from the public url and allowing it from one of the instances. ...
-1
votes
0answers
15 views

Why arent there any wordpress.com app posted on the Googleplaystore app? [closed]

Why aren't there any **Wordpress app **on the Googleplaystore site?
0
votes
0answers
15 views

jQuery if Loop Object Contains Text then Show/Hide Elements Per Loop Object

I am building a directory site. The search results page displays 10 posts per page, each is wrapped in it's own Div and displays simple information such as a category icon, name, address and a "...
1
vote
0answers
9 views

Way to change the Yoast Schema depending on post type? [closed]

I’m trying to change the schema on my website to work with my custom post types, so events/jobpostings can be categorized as such. But trying to work with a hook found on Yoast’s website, that hook ...
0
votes
0answers
19 views

Trying to revive an old wordpress site, but newer versions of wordpress install a different db structure

I'm trying to revive a site that worked in 2015. The theme is custom, and contains custom post types, pages, and a bunch of standard posts. When I use Wordpress 4.4 (the version that this last worked ...
0
votes
0answers
24 views

WordPress jQuery Post - Amending Variable Value Within Function Command

I have a variable in Javascript which I am trying to pass to PHP. I have this working using jQuery.post. The issue is, the variable (linkforsharedURL) is declared within a multidimensional array and ...
0
votes
0answers
4 views

Where WooCommerce Guest Customers Are Saved in the Database? [closed]

I need to migrate the list of customers from a WooCommerce website. They have the option Allow customers to place orders without an account enabled, so no of their customers are a WP user, all are ...
0
votes
1answer
13 views

Plugin to design E-Mail Templates which then can be used in own PHP code

After about two days trying to use Mailpoets E-Mail-Templates to send notifications from my own code (own plugin) I'm getting a little desperate... What I want is the possibility for a user to edit ...
0
votes
0answers
82 views

PHP Fatal error: Uncaught mysqli_sql_exception: Table doesn't exist in wordpress/wp-includes/wp-db.php

I am writing a plugin and want to create a database table when the user installs / activates it I have written the following into an install.php global $wpdb; $fm_db_version = '1.0.0'; $db_table_name ...
0
votes
0answers
20 views

Ultimate Affiliate Pro Plugin :- Having issue extracting user data from wp id slug [closed]

This line of code <?php echo $array['reference'];?> Pic Attached output user id slug example :- (user_id_20) Pic attached How can i remodified the code and get the first and last name ...
0
votes
0answers
31 views

Add a product category to a specific product via a button

I want to add a button to product page when those products are in the category"expire". This button has to add a category. I search on web a solution and I found a code. I modified this code ...
0
votes
1answer
30 views

Nested Queries of decreasing specificity

I have the goal of getting n custom posts from a query. I have 4 values stored in ACF. If I can find n posts where all these values are the same as the current post's, then I want to return those n. ...
0
votes
0answers
12 views

Filter to analyze WordPress template part with SEO Plugins (SEOPress example)

I have a question. I currently created my own theme and created some pages like the html of the homepage inside a template in the template-parts folder. Everything is fine, the theme runs, the pages ...
0
votes
0answers
11 views

Disable ModSecurity To Just post.php

<Files post.php> <IfModule mod_security2.c> SecRuleEngine Off </IfModule> </Files> Hello. There is my code but it's not working. How I can disable ...
0
votes
1answer
9 views

How to access my wordpress application using two URLs?

I have deployed a simple self managed Wordpress application on AWS. My setup looks like this. AWS CloudFront -> AWS ALB -> EC2 servers [ wordpress runs] -> RDS Database I have associated a ...
1
vote
0answers
17 views

retrieve Meta field value from CPT and set those values as Image Meta Field "Title"

So i have a created a CPT (Car) with custom meta fields (Model, Maker, car photo ..etc) and those meta fields are being filled using a frontend form , all these has been created using JetEngine Plugin....
0
votes
0answers
7 views

How display related post only in Default category on single

I have a website with lot of post. I use 3 or more category for my post. I wanna display post only for the "default category". I try this one but work with all category not only Default. If ...
0
votes
0answers
25 views

Using `set_transient()` when saving a custom post type

I've got multiple custom post types registered via a plugin and one of them is used as a precursor for multiple other queries. In an attempt to reduce queries throughout the site, I've attempted to ...
0
votes
0answers
7 views

Featured image not shown in header

A company gave me this webpage to work with. I'm not sure what I did but the image background for the heading has dissappeared. (https://www.icelagoon.com). I've been mainly using Elementor to create ...
0
votes
0answers
10 views

My theme header is stuck on a low resolution image?

My responsive header is stuck on the medium-large srcset regardless of width UNLESS I'm in DevTools. I have disabled all CDN's and image resizing, but now this seems to be browser behavior i cannot ...
0
votes
0answers
14 views

validation field form registration vendor dokan woocommerce

I am making a marketplace with woocommerce and dokan. Seller registration is only for those who have an invitation code. in the vendor-registration.php dokan template I add the input for the new field ...
0
votes
1answer
18 views

600k of option_name "c_facebook_background_product_sync_job"

I have disabled my facebook for woocommerce plugin and I issued this command in phpmyadmin:- SELECT COUNT(*) FROM wp_options WHERE option_name LIKE 'wc_facebook_background_product_sync_job_%' AND ( ...
0
votes
0answers
22 views

How do I converge taxonomy category permalinks into one?

My site has many different taxonomies but three taxonomies (Music, Books and Video games) I want the permalink to be /entertainment/. If I use the permalink structure in WP it will also change the ...
0
votes
0answers
14 views

What is the XSSAttack option_name for in the options table?

I am working on eliminating malware from a site and reviewed the entries in the options table. Found an "option_name" of XSSAttack with an "option_value" of 1. Lots of searches on ...

15 30 50 per page