How to copy specific page content and create child page?
How to copy specific page content and create child page?
How to copy specific page content and create child page?
My page won’t publish
You should check out the options from this theme. Probably you can set all this in the theme options. Accordion to the demo pages from The7 theme page you can choose for a list layout i.o a grid layout http://the7.dream-demo.com/blog/blog-list/5-blog-list/
Thanks to the theme developers for helping me fixing it. I’m posting the answer here in hope that it may helpes any person facing the same problem. In functions.php there was a code to disable comments on page.php Remove this part of code from functions.php to make the comments working on pages too: function default_comments_off( … Read more
I’m a little confused about the current setup, but in general, I would suggest logging into your friend’s WP Admin Dashboard and going to Appearances > Customize > Static Front Page and selecting the “New Home” page like so: If you are using any caching plugins, then also be sure to purge the cache from … Read more
Why my site scroll top when end load pages
You rarely ever need a custom SQL query, use the tools WordPress has to offer: $query = new WP_Query( array( ‘posts_per_page’ => -1, ‘post_parent’ => $post->ID, ‘post_type’ => ‘page’, ‘orderby’ => ‘menu_order post_title’, ‘order’ => ‘ASC’, ) ); if ( $query->have_posts() ) : ?> <?php while ( $query->have_posts() ) : $query->the_post() ?> <div id=”page-<?php the_ID() … Read more
Pageview all of sudden not working
I don’t think that’s what should normally happen. Can you replicate that on a clean install with no plugins and a default theme?
You can get an array of child pages using get_children. Use the parent page’s ID as post_parent. Once you have the array, you can loop through them and display whatever info you want. For example, to show the page title (linked) and the excerpt you could do: $args = array( ‘post_parent’ => $post -> ID … Read more