I have successfully added the phone number field in Ship to different address and the phone number is showing in back-end as well. However I am not receiving the phone number in email. Kindly Help This code helps me to add field: I have tried adding additional code in the above code (shown below) to show the …
Tag: wordpress
wp-admin/admin-ajax.php 404 in action: send-attachment-to-editor
When I want to upload a photo to my article with the button to add a multimedia file, after uploading, when I click on the option to put it in the post. In the browser console wp-admin / admin-ajax….
WordPress add script to footer for specific category (archive and posts)
i am trying to add a google ad script for specific category only. The code should be and in the archives page for that category and the posts of that category. Here is the code I am using in my functions.php file but for some reason it breaks the site Answer Use include instead of echo. Store the Script in
Left join on two tables and want to get results from a specific date
I have written a MySQL query to do left join on two tables . My result query is showing the result I wanted . I just want to know how to further make it limited to specific dates . The column which I want to sort is user_registered and is showing date in this format 2020-12-17 06:06:05. So how to
WordPress with Divi does not show display logo in main menu
Hy, i work on a website made with WordPress, Divi and a child theme. I have an header with a navigation and the logo centered on the nav. The header is fine when i’m connected but when i’m not connected (like a visitor) the logo is on display: none and out of the navigation list. The header is gen…
Replace WooCommerce storefront search box for guests by a custom button
On woocommerce storefront header, for not-logged users, I want to replace the search box area with 2 gold bootstrap buttons: “Login”, “Register” (like the stackoverflow landing-page header), to send guests to my customized login/register urls. With your help I have this PHP and CSS sni…
How to do 301 redirections after WordPress Permalinks change
I changed the Woocommerce permalink structure of my site and I would need some 301 redirections Help. Woocommerce product permalinks were configured according to the structure: And now according to the structure: What lines do I need to add to the .htaccess file to do 301 redirections, please? UPDATE: /shop/%…
How to use get_theme_mod in gutenberg editor wordpress?
In my old WordPress themes (before Gutenberg) I used get_theme_mod to get custom values for certain things in the theme. get_theme_mod( ‘news_custom_headline’ ); Now I would like to use the gutenberg …
How to hide the storefront search box for not logged users?
On woocommerce storefront header, I want to hide the search box for not-logged users, and replace it with 2 yellow buttons: “Login”, “Register” (like the stackoverflow landing-page header) that send to my customized login/register urls. I tried this CSS code that works to hide the sear…
Call a function from a WordPress plugin
I have a wordpress plugin that I’m looking to call one of the functions on a custom template. The function I want to call is get_ship_now_adjust_date_link. Is it possible to just do the following on a …