Insert Latest Articles in Homepage

Edit the home page template and add the following code : <h2>Recent Posts</h2> <ul> <?php $args = array( ‘numberposts’ => ‘1’ ); $recent_posts = wp_get_recent_posts( $args ); foreach( $recent_posts as $recent ){ echo ‘<li><a href=”‘ . get_permalink($recent[“ID”]) . ‘”>’ . $recent[“post_title”].'</a> </li> ‘; } ?> </ul> I have used <UL> and <li> to list post…. … Read more

Speed of the slider images should be increased in wordpress

Note: This is only a quick fix and not a permanent solution (i.e. a theme update might reset these changes). The enlightment theme uses a slider called “flexslider”. To alter the speed you can go into the flexslider javascript-file and change the slideshowSpeed parameter. In your theme folder, navigate to the file “jquery.flexslider.js”. It is … Read more

WordPress shortcode doesn’t working on HomePage

Depending on what post editor you are using: Classic – make sure to switch the editor to “Text” instead of “Visual”. The latter will output anything you write in a form of text, while the first one will process the shortcode. Gutenberg – find a plus sign in the top-left area of your WordPress dashboard … Read more

WP Multisite Static Frontpage

I would recommend waiting until WordPress 3.4 is released. Among other features, it is slated to include the ability to allow Themes to define/declare a static front page. I believe this functionality should suit your needs. (Note: as of today, WordPress 3.4 just hit Beta 1, and is scheduled for final release in May.)