WordPress.org

Forums

HeatMap AdAptive
[resolved] Blog Page Not Working (7 posts)

  1. Rachel
    Member
    Posted 1 year ago #

    Hello,

    I tried to make one of my pages into a blog page and it ended up looking like this: http://cl.ly/image/3K341z1s2v40

    I made sure the blog page is on content only, but when I add the posts to it the sidebars/image pop up with the posts below it. How do I get rid of that?

    Site: http://mikemullinauthor.com/

    Thanks.

  2. heatmap
    Member
    Theme Author

    Posted 1 year ago #

    Try changing the home page layout settings.

  3. Rachel
    Member
    Posted 1 year ago #

    Alright, the huge image is gone but now the sidebars still have text. I would like the page to have no sidebars.

  4. heatmap
    Member
    Theme Author

    Posted 1 year ago #

    Ahh yes, I see what you're doing.
    When you set the page template to content only the sidebars still appear.

    Thats down to how WordPress works.

    When you set a page as a blog posts page it responds as if it was the blog posts page on the home page.

    The blog post page is no longer a page as such. A page has different coding to a blog posts page and therefore cannot use a page template. A theme will generally just do whatever the home page is designed to do in that case.

    So setting the page template on a page which you've set to show as a blog posts page wont work.

    The pro plugin which my members have access to includes extra theme options which helps with that so you can set the home page (in your case blog page) layout separately.

    http://s3.amazonaws.com/hmtwsoimages/wfhmta/screenshots/layout.png

  5. Rachel
    Member
    Posted 1 year ago #

    Okay, can you at least tell me which .php file I should modify? I don't see a blog.php or anything. I don't want to pay for your pro just to get rid of the sidebars. There's another way to go around it (just like the footer)... I just need a tip.

  6. heatmap
    Member
    Theme Author

    Posted 1 year ago #

    You'd need to modify index.php to include the layout override function (as documented in the theme page templates such as layout-c.php) to switch it manually thus...

    if ( is_home() ) {
    global $heatmapthemead_options_override;
    $heatmapthemead_options_override['theme_layout'] = 'content';
    }

    But as I say (for others reading this) with HeatMap AdAptive Pro plugin its just one click in the layout options.

  7. Rachel
    Member
    Posted 1 year ago #

    Thank you! It works perfectly.

    I really appreciate your help, I understand you want people to buy pro and I'm taking up a lot of your time.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.