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; }

Display child-page links in sidebar on both Parent Pages AND Child Pages

The following fixed the issue for me: <?php switch ($isBlogsPostPage){ case true: $parentID=get_correct_id($post, $isBlogsPostPage); break; default: $parentID=get_correct_id($post); } $args = array( ‘post_type’ => ‘page’, ‘posts_per_page’ => 10, ‘post_parent’ => $parentID, ‘orderby’ => ‘menu_order’ ); $parent = new WP_Query( $args ); if ( true ) : ?> <section class=”links border shadow”> <ul> <?php while ( $parent->have_posts() … Read more

How to center all text body in single.php at once?

There is probably some CSS you can add via Additional CSS (in Theme CUstomization) that you could use. Use the Inspector tool of your browser (F12) to see the CSS ‘class’ element used in the content. If the class is called ‘the_content’, then add this to your Additional CSS: .the_content{text-align:center !important;} You might need this, … Read more

Make a full-width wordpress page

This is more of a CSS question than a template question. The class “row” is adding a max width of 75rem on your template. Looks like this in the inspector: .row { width: 100%; margin-left: auto; margin-right: auto; margin-top: 0; margin-bottom: 0; max-width: 75rem; } That’s coming from this style sheet: https://tuberadar.nl/wp-content/themes/gateway/app.css?ver=5.1.1 Without rooting through … Read more

Show subcategory name selected in specific category woocoommerce

To display only assigned category you need to change hide_empty to true. Please see the modified code: $args = array( ‘hierarchical’ => 1, ‘show_option_none’ => ”, ‘hide_empty’ => true, ‘parent’ => 134, ‘taxonomy’ => ‘product_cat’ ); $subcats = get_categories($args); echo ‘<ul class=”wooc_sclist”>’; foreach ($subcats as $sc) { $link = get_term_link( $sc->slug, $sc->taxonomy ); echo ‘<li><a … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)