I am working on a website (built on wordpress) in which I want to replace some plugins. The name of…
Video Short Code and Media Fragments URI
It looks like WordPress video short code does not support media fragments URI (.e.g. appending #t=10 for the video src…
Multiple shortcodes on the same page but with different parameters
I’m currently trying to install a Neori theme using these instructions: http://litmotion.net/documentation/neori/ So it says if I want to use…
I m trying to to generate random number with shortcode
My code is function unique_random_number( $atts ) { // Attributes $atts = shortcode_atts( array( ‘min’ => ‘3’, ‘max’ => ’10’,…
Add custom variable in Contact Form 7 mail body
I set cookie for my users to know from which source they come to the site and I want when…
Checking is user author of number of posts?
I have this function… $user = wp_get_current_user(); if (( in_category(‘Locked’) ) && in_array( ‘subscriber’, (array) $user->roles ) ) { /*…
Offset with ajax load more posts duplicates
I have a shortcode that gets posts. I am using the shortcode three times on the page. The first time…
Unknow shortcode read on display site
I put the caption on a picture like this, the blog looks good, but in the compact view, I receive…
WordPress 302 Redirect to Random Product/Post/Page
I’m trying to add the ability to redirect a user to a random product/page/post url similar to example.com/page/random which would…
WordPress keeps automatically inserts
I’m using the ‘SyntaxHighlighter Evolved’ plugin on WordPress and when I create a code block, it keeps inserting a .…
How can I pass a shortcode value to the head in wordpress functions.php
I’m trying to create a shortcode for charts on wordpress posts. So far I’ve got the shortcode working and I…
Shortcodes in billing fields doesn’t work
WooCommerce: 3.5.1 WordPress: 4.9.8 I want to set automaticly billing fields with data from GeoIP shortcodes, but it doesn’t work.…
Is it possible to change existing shortcode?
There’s a theme using cornerstone visual composer and it’s shortcode [recent_posts]. I want to change it’s behoviour, because it sets…
Instagram URL is converted into oEmbed
I have 8 Instagram URLs in this post out of which 3 are not converted into embed/iframes. I’m using Gutenberg’s…
A number appears inside a div called wpb_wrapper, when I use a custom shortcode
the page automatically display a number inside a div called wpb_wrapper, when I use a custom shortcode. but its nowhere…
A number appears inside a div called wpb_wrapper, when I use a custom shortcode [on hold]
the page automatically display a number inside a div called wpb_wrapper, when I use a custom shortcode. but its nowhere…