Redux Framework has an embedded demo. Click here to activate the sample config file

Problem solved! Helped official support. It was necessary to add the following code. add_action( ‘redux/loaded’, ‘remove_demo’ ); /** * Removes the demo link and the notice of integrated demo from the redux-framework plugin */ if ( ! function_exists( ‘remove_demo’ ) ) { function remove_demo() { // Used to hide the demo mode link from the … Read more

Displaying recent post excerpts on static front page

I’ve found the solution. According to https://codex.wordpress.org/Function_Reference/the_content#Overriding_Archive.2FSingle_Page_Behavior, one must add global $more; $more = 0; before the call to the_content(). So now my inner loop reads: <?php $recent_posts_query = new WP_Query(array(‘post_type’ => ‘post’, ‘posts_per_page’ => 5)); while ($recent_posts_query->have_posts()) { $recent_posts_query->the_post(); ?> <div class=”post”> <h3><?php echo the_title(); ?></h3> <p>by <?php the_author(); ?></p> <?php global $more; $more … Read more

Static page does not show my posts

So this is the code I have on one of my Website inside the footer, this basically get’s the 3 latest posts and displays the_title you can change this to show the_excerpt. <?php // news posts loop begins here $newsPosts = new WP_Query(‘page=blog&posts_per_page=3’); if ($newsPosts->have_posts()) : while ($newsPosts->have_posts()) : $newsPosts->the_post(); ?> <!– Blogs –> <div … Read more