We have added a live product search shortcode on the top of our website for mobile devices only. On desktops we have left the live product search in ...
We have added a live product search shortcode on the top of our website for mobile devices only. On desktops we have left the live product search in ...
I've made a dice roller, implementing the code I wrote here. I added it to a shortcut function in wordpress functions.php , and was all working fine. ...
I am trying to pass amount parameters in url from the shortcode. The from and to attributes are working fine but the amount attribute is not working. ...
I'm using woocommerce shortcode to display custom products loop, e.g. [products limit="-1" paginate="true" orderby="menu_order" columns="5" ids="85,11 ...
Here is the URL where I'm getting the first name. Ideally, if we have a value in the parameter it shows the name e.g James, and if a null value for th ...
So I have three variables $blue_tooltip_icon, $red_tooltip_icon, and $gray_tooltip_icon. Now I would like a specific variable to be output depending o ...
I’m working on this page below, and I’ve added in the shortcode using the elementor shortcode widget. https://wordpress-878949-3053856.cloudwaysapps. ...
I'm trying to create custom function in WordPress with ACF, and use it as a shortcode. What I want to do is quite simple: Get a field from ACF ...
I am trying to create a search bar for a blog, which is working fine if i am logged in, but not when i am not logged out. As logged out user, it retur ...
I just switched to a new theme and don't want to override the template files. In my old theme I had a custom sidebar.php file with following code abov ...
I am trying to get the single post id inside the PHP function that was called by a shortcode. Please help me to get the single post ID. Thanks in ad ...
Im challanged with adding a "tel" link in a shortcode. I have tried several ways and I have not succeeded. Here is a sample of the current code: Th ...
In my Wordpress site I'm building a plugin that injects a shortcode into a page. When I view the page it just shows the code of the shortcode: When ...
I've added a widget element (my account widget) to a page using a shortcode (there is an annoying bug when I use the widget). and of course the elemen ...
I'm new to WP plugin development and found out that my shortcode is showing at the top of the page, but I want to include it anywhere in the post (not ...
I have build many shortcode to show somme data from a training cours. If y put a value, it works well. But if I try to use a const or a global var ...
Hello can you help me, i want to add shortcode after this <div class="customads1" and <div class="customads2" this is the complete code i adde ...
I have a simple shortcode which i use on post titles: It works fine but I suddenly realized that Yoast creates an og:title and it doesn't render th ...
I need to display the price of a given product by using sku , trying to do it with few shortcodes i have found but not much luck - would like to view ...
How can i make a shortcode with an attribute to change the field id get_field('file'); please help me how can i do this How can i make a shortcode ...