javascript, php, jquery, ajax, wordpress
<h> tag different color in different page I’m trying to make that a h1 tag as two colors, for example in the “main page” the h1 is red, and in the “secondary page” the h1 is blue. I’m trying to achieve this without success, I been doing this …
|
|||
How can i grab the ID of all posts? Recently got into the XML-RPC Library in python and i need to grab the ID of all posts in my wordpress website.Tried using the EditPost()) command but it seems that the ID of the posts are needed. In …
|
|||
WordPress: ACF to REST-API: Filter by ACF field value I’m using ACF to “categorize” my media items. With ACF to REST-API (v2.2.1 over wp-plugin-store) I’m able to see the custom field (acf->tag) in the wp-json-response. How can I filter these values? …
|
|||
Replace string from returned string I have a function which returning HTML form. Before the particular form appended to the HTML, I have to make a string replacement. I have tried to make the replacement however, it returning form …
|
|||
Google did not crawl / indexed website under WordPress directory I have a problem on google indexing my under directory website, I have a multiple website inside the multiple subfolder, the main website (domain root) are using WordPress, some other website under …
|
|||
Serving new Home Page from new CMS alongside old WordPress Install using .htaccess While transitioning to a new CMS I have been running two sites side by side. I realise this isn’t the best way to do things but it is what it is. I’m at a point where I need the home page to point …
|
|||
WordPress Multisite change upload folder on subsites Situation I have a WordPress Multisite installation run through GIT which has the latest commit on every environment: – Local environment – Development environment – Production environment In the …
|
|||
How to Merging / Combining three WP_Query of Latest Post, into One WP_Query? I tried searching but have not found an answer for my problem; I have build a custom WordPress Theme and want to show into a custom page the latest post from three different categories, so I have …
|
|||
$wpdb return empty with date selection I’m working on a WordPress calendar plugin, with possibility to add events attached to one date. Events are stored in a custom database that works fine. But I’ve got troubles with a function in wich …
|
|||
I would like to add a custom meta_key value to each WooCommerce product It will be the Discount rate : _discount_rate = ((_sale_price-_regular_price_)
|
|||
how to make phone number clickable in classifield wordpress I tried everything to make the phone number clickable but for some reason it didn’t work <?php global $redux_demo;?> <?php $phoneon= …
|
|||
Change a while loop to foreach? I’m about to change a code to “WordPress-customized code” (using $wpdb). And with $wpdb->get_results() I get an array that need to be outputted with a foreach loop. But the problem is that my …
|
|||
So I am writing a template file for WordPress and I feel like I am using too many echo tabs. Just wanted to see if there is something that is better and easier that I am not doing right now. …
|
|||
Run jQuery after WooCommerce AJAX shipping method update A jQuery function needs to initialize after shipping options have been updated, on the checkout page, through an ajax call, and the Woocommerce custom event updated_shipping_method has been triggered. …
|
|||
LinkedIn Link Sharing: Open Graph Image Issue NOTE: I’ve seen a variety of similar questions to this one so I’m going to try and be succinct in describing the issue along with what I’ve done so far. The issue is that LinkedIn is failing to …
|
|||
WooCommerce after subscription purchase, page redirected to broken page I have a WordPress site with WooCommerce and two subscription products, a monthly and yearly. After signing up, an account is created for the user as well. This all works, but after purchasing is …
|
|||
WPMU create weblog in php code not work I want to make a new blog in php code. Blog is created, but is disabled or not available. I’ve even set options but still not active blog. No example of how to create a blog by WPMU found on the …
|
|||
How can I upload my local wordpress to a digital ocean droplet I have set up? I have recently finished developing my first wordpress site for a client, I have set up a digital ocean droplet and installed WordPress (which works successfully!). Can somebody please give me layman …
|
|||
WordPress Button triggered ajax request So I have actually read stackoverflow questions about this, but they are somewhat quite old to work with newest version of wordpress. My end goal is to submit to database some data from my forms but …
|
|||
How to Call a Google Sheet Cell Into WordPress Post Content? I have a Google Sheet with a cell in. I want to include the content from within the cell (literally just the text, nothing else) directly into the post content on a WordPress page. How can I do this? …
|