Listing all sub-pages?

easy just pass it the $id off which to get the children global $id; wp_list_pages(“title_li=&child_of=$id”); of if you want in the loop then wp_list_pages(“title_li=&child_of=$post->ID”);

get excerpt without images

Use the_excerpt(); wordpress function to show only text. That function will filter out some html tags such as <img> , <a>. A useful alternative to show only plain text. Note – The the_excerpt() function internally uses get_the_excerpt() to get excerpt and return a new string by filtering tags such as <img>, <a> tags. It also … Read more

While Using Static Pages, How Can I Get /blog into the URL of Each Post?

In admin under Settings > Permalinks, select Custom Structure and enter /blog/%postname%/. This will prepend /blog/ to categories and tags by default, and any custom post types and taxonomies where you have not registered them with the with_front argument set to false. you can remove it from the built-in category and tag taxonomies by setting … Read more

How do I create comment-reply-button using element not

You can generate a custom comment reply element like so: This will replace the **** HERE <SPAN> ELEMENT FOR REPLY-BUTTON WILL BE PLACED ****. <?php if ( get_option( ‘comment_registration’ ) && ! is_user_logged_in() ) : ?> <a rel=”nofollow” class=”comment-reply-login” href=”https://wordpress.stackexchange.com/questions/321913/<?php // wrapped echo esc_url( wp_login_url( get_permalink() ) ); ?>”>Log in to Reply</a> <?php else : … Read more