Front page posts "click here for to read more posts"

Discussion in 'BusinessGrow One Page WordPress Theme' started by rsjhunter, Dec 5, 2013.

  1. rsjhunter

    rsjhunter Member

    Joined:
    Nov 20, 2013
    Messages:
    43
    Likes Received:
    0
    Has your developer come up with code to add this to front page. I get many readers that do not know there is more posts on my website after reading the front page.

    zerochlorine.com
     
  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 add the code given below

    Code:
    <div class="all-post"><a href="ENTER YOUR BLOG PAGE LINK HERE">READ MORE</a></div>
    Sending image for reference

    2013-12-05_1352.png


    Now,

    Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    Code:
    .all-post {
    float: right;
    margin-top: -20px;
    margin-right: 154px;
    }

    This will solve your issue.
     
  3. rsjhunter

    rsjhunter Member

    Joined:
    Nov 20, 2013
    Messages:
    43
    Likes Received:
    0
    I made both changes but it didn't work.

    here is copy of the .php file i added code

    </div></div>
    </div>
    <div class="clear"></div>
    <div class="all-post"><a href="http://zerochlorine.com/?page_id=60">READ MORE</a></div>
    <!-- ***Recent blog container* starts ends** -->
    <!-- ***********************Gallery Page************************* -->
    <div class="homepage_nav_title gallery">
    <?php if (inkthemes_get_option('inkthemes_gallery_portfolio_heading') != '') { ?>
    <h1 class="index_titles"><?php echo stripslashes(inkthemes_get_option('inkthemes_gallery_portfolio_heading')); ?></h1>
    <?php } else { ?>

    zerochlorine.com i previously gave you my password & id so you could check code previously so you should still have.
     
  4. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    Code added. Please check your site.
    I think you have not saved page after adding code. That's why is was not working.

    Thanks & Regards
    Nitesh Raghuwanshi
     
  5. rsjhunter

    rsjhunter Member

    Joined:
    Nov 20, 2013
    Messages:
    43
    Likes Received:
    0
    thank you - you are correct I prob did not save the .php file.

    I did go back and change "read more" to Click here for more posts - and I did save it but it doesn't show up.

    I can live with Read More -but would like to know when I changed this why it wouldn't show up. i only changed in front.php file and i did save it so if you go to it you will see it but not on website
     
  6. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    Really not getting why you are not able to change anything there.
    Please check image given below. It will address exact area where i have made changes.

    Click here for more posts.png

    Thanks & Regards
    Nitesh Raghuwanshi
     

Share This Page