Naijaloaded Most Recent WordPress Theme

Discussion in 'WordPress' started by Olayanju Kabir, May 31, 2017.

  1. Olayanju Kabir

    Olayanju Kabir Itz Kofem Staff Member

    Below is the most recent Naijaloaded WordPress theme .

    Features :

    1. Automatic Hot Posts at the header(no need for plugin)
    2. Personalised Css
    3. Automatic Recent posts (no need for plugin)
    4. Automatic Picture, music and video of the week at content.php (no need for plugin)
    5. Supports plugin

    INSTALLATION

    1. Install through ft p or cpanel or through your WordPress dashboard.

    2. The coding is automatic, you don't need to edit anything. However, you MUST replace my category with yours.

    HOW TO EDIT THE EDIT THE CATEGORY ID?

    Very simple!

    First install this plugin www.wordpress.org/plugins/catch-ids/

    The plugin shows all the ids of your posts, categories, etc. Now, to get your categories id, go to Category, you will find them there.

    Make sure you create face of the week, music of the week, etc categories.


    EDITING HOT POSTS

    1. Go to header.php
    2. Look for all this code


    Code:
        <?php query_posts('cat=5&showposts=2'); while (have_posts()) : the_post(); ?> <li><a href='<?php the_permalink() ?>'><?php the_title(); ?></a></li>    <?php endwhile; ?> <?php wp_reset_query(); ?>
    1. Just change "5" in "cat=5" to the category id you want and "2" in "showposts=2" to the number of posts you want from that category to show.

    "cat" means "category" and "showposts" means "number of posts to show.

    2. There are about 5 of the items here. So you must add your category id else a random one might be shown.


    EDITING PICTURE, MUSIC AND VIDEO OF THE WEEK

    1. Go to comment(form.php)

    2. Look for the same code in step 1 and replace the ids with your picture, video and music of the week ids.

    There are 3 of the items here.

    That's all, very simple and stress free!

    NOTE: PLEASE DO NOT EDIT ANYTHING YOU ARE NOT SURE OF TO AVOID ERROR!
     

Share This Page