Probleme shortcode with list author
This is because output buffers are closed, but they’re never opened. Adding this at the beginning of the shortcode will fix things: ob_start();
This is because output buffers are closed, but they’re never opened. Adding this at the beginning of the shortcode will fix things: ob_start();
Use a global and set the value to $atts.
Date Shortcode in Image alt and title tags
shortcode to display specific recent posts
I change the array in get_children() and foreach loop with below reference url and code work fine. please check the argument that you have passed also use echo statement like they shown in the example. reference url : https://developer.wordpress.org/reference/functions/get_children/ let me know result or errors $args = array( ‘posts_per_page’ => 1, ‘order’ => ‘ASC’, ‘post_mime_type’ … Read more
Disable wpautop on Shortcode attributes
No way; shortcode is related to the plugin installed on the website you can’t reuse it.
background featured image display using shortcode
First thing : initialize variable $content=””; before the while loop. other than that your code is right. there is something you are doing wrong to use shortcode. you should check this link https://developer.wordpress.org/reference/functions/do_shortcode/#user-contributed-notes and make changes. also if using for custom post type please add post_type argument in $args
couldnt show short code atts in category