How do I show the HTML descrption in wordpress photo gallery for my individual gallery pages?

With some CSS/HTML I managed to solve my issue. But, I had to enable Gallery title right above the description setting checkbox in my screenshot. HTML <a href=”http://wordpress.stackexchange.com/bwg_gallery/<slug-url-here>/#top” name=”top”></a> <h4>Title</h4> Addtional CSS ( to hide the title since I already have a title above this one ) .bwg_gal_title_0:not(.bwg_gal_description_0){ display: none !important; }

Load my Inline js footer area

You can enqueue your script in footer <?php wp_enqueue_script(‘handle’, ‘src’, ‘deps’, ‘ver’, ‘in_footer’); ?> like wp_enqueue_script(‘jquery’,’PATH_SCRIPT’,”,”,true); Setting $in_footer to true I see references here, please have look https://developer.wordpress.org/reference/functions/wp_enqueue_script/

jQuery dependent script ignores $in_footer bool and doesn’t work in header

It’s all about poor typo, I put one extra parameter ” before dependency parameter: wp_enqueue_script( $plugin_short_slug, plugins_url() . “https://wordpress.stackexchange.com/” . $plugin_slug . ‘/js/’ . $plugin_slug . ‘.js’, ”, array(‘jquery’), ”, true); should be: wp_enqueue_script( $plugin_short_slug, plugins_url() . “https://wordpress.stackexchange.com/” . $plugin_slug . ‘/js/’ . $plugin_slug . ‘.js’, array(‘jquery’), ”, true); Now my script properly loads in … Read more

Hide post by ‘post_category’

If you want to get the posts with that category $myposts = get_posts(array( ‘p’ => $pid, ‘posts_per_page’ => -1, ‘post_type’ => ‘post’, ‘category__in’ => array( 4 ), ‘post_status’ => ‘publish’, ‘author’ => $value[0], )); If you want to get the posts without that category $myposts = get_posts(array( ‘p’ => $pid, ‘posts_per_page’ => -1, ‘post_type’ => … Read more