Black Friday sale! Get 25% off WPSP Pro! Discount automatically applied at checkout.

[Resolved] Noob help

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Noob help

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #611
    Aaron
    Participant

    I know how to use the plugin on a static page because it’s demonstrated in the video however what about if I want to use the plugin when the front page is the blog roll?

    #612
    Tom
    Keymaster

    You would have to use your theme hooks. For example, in GeneratePress we have GP Hooks, so you could do this in the “Inside Content Container” hook:

    <?php if ( is_front_page() ) : ?>
        <?php echo do_shortcode( '[wp_show_posts id="xx"]' ); ?>
    <?php endif; ?>
    #620
    Aaron
    Participant

    Thanks it worked perfectly, one more question though, what if I wanted to have both the gallery and post on the same page ? I’m using the blog roll

    #625
    Tom
    Keymaster

    Not too sure what you mean? If you’re adding the shortcode in hooks, you should be able to have whatever you want on the rest of the page (a static page, your blog posts etc..).

    #631
    Aaron
    Participant

    You’re right I just got confused, I got the post to show how I want using WPSP however I also still have post showing the default way so basically I have duplicate post one with the WPSP layout and another with the layout before I used WPSP.. How Can I get it so only the post layout for WPSP shows instead of both

    #642
    Tom
    Keymaster

    You mean your regular blog is showing as well?

    If you leave the “Posts page” setting blank in “Settings > Reading” then you shouldn’t have a blog.

    #656
    Aaron
    Participant

    Yes I don’t want the regular blog to show. I tried what you said however I couldn’t leave it blank it said I had to have at least 1 post minimum the reading settings looked like this:

    Reading Settings

    Front page displays

    Front page displays
    Your latest posts

    A static page (select below)
    Front page: — Select — Sample Page
    Posts page: — Select — Sample Page

    Blog pages show at most
    posts

    Syndication feeds show the most recent
    items

    For each article in a feed, show

    For each article in a feed, show
    Full text
    Summary

    Search Engine Visibility

    Search Engine Visibility Discourage search engines from indexing this site
    It is up to search engines to honor this request.

    #659
    Tom
    Keymaster

    If you choose “A static page” and choose a page for the front page, you should be able to leave the “Posts page” option blank.

    #667
    Aaron
    Participant

    You my friend are a genius, your method worked so well that I decided to delete the hooks used for post to display on the front page altogether, because there is no longer a need for them. Now that my front page is technically still the blog page but yet a static page life is a lot easier 🙂

    #670
    Tom
    Keymaster

    That’s awesome, glad I could help! 🙂

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.