Replace 3 Column Feature by any Post or Page

Discussion in 'BlackBird WordPress Theme' started by followme, Aug 5, 2013.

Thread Status:
Not open for further replies.
  1. followme

    followme New Member

    Joined:
    Mar 29, 2012
    Messages:
    9
    Likes Received:
    0
    Hello,

    I've used the blackbird theme in my new creation. Though I like the theme I'd prefer to have the columns on the frontpage removed and replaced by a Post or Page. I know this should be done in the page called "front/page.php", but don´t know the exact code to get/extract a post from the database.

    Is this something that can be replaced easily? If so, how is this done?

    Rgrds,
    Willem




     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Go to front-page.php present in your theme directory and remove the code from line no.172 to 224.

    Now, Download the Special Recent Posts plugin from WordPress.org and upload it.
    http://wordpress.org/plugins/special-recent-posts/installation/

    and add its shortcode in front-page.
    Code:
    <?php echo do_shortcode('[srp]'); ?>
    Sending image for reference

    2013-08-06_1149.png
     
  3. followme

    followme New Member

    Joined:
    Mar 29, 2012
    Messages:
    9
    Likes Received:
    0
    Thanks Gourav,
    That did indeed solve the case.
     
Thread Status:
Not open for further replies.

Share This Page