Alternative homepage

  • Posted in : Read WP
  • renenekuda
    Participant

    Hello,

    please can you share content of your alternative homepage from the demo: http://themes.pixelwars.org/read-wp/home-alternate/

    I don’t know how to set up a portfolio button…

    And – I have all of my blog posts on the alternative homepage. How I can reduce a number of visible posts?

    Thank you very much for your help!

    Mehmet S.
    Keymaster

    1-) First Help

    – in the Visual tab of the editor:

    [intro]
    Hi! I am a [label]theoretical physicist[/label] developed the general theory of relativity, effecting a revolution in physics.
    [launch_button text="VIEW PORTFOLIO" url="http://themes.pixelwars.org/read-wp/portfolio"]
    [/intro]
    

    – in the Text tab of the editor like this:

    [intro]
    <h2>Hi! I am a [label]theoretical physicist[/label] developed the general theory of relativity, effecting a revolution in physics.</h2>
    [launch_button text="VIEW PORTFOLIO" url="http://themes.pixelwars.org/read-wp/portfolio"]
    [/intro]
    

    2-) Second Help

    – Go to Appearance > Editor > page-home.php
    – Find the line below:

    $args_homepage = array( 'post_type' => 'post', 'posts_per_page' => -1 );
    

    – The mean of -1 is unlimited. So you can change it 5, 10, 15, 20 or what you want.

    renenekuda
    Participant

    Thank you very much! It’s working! ;)

    dmkcreative
    Participant

    Thank you.

    -David-

    milomindrbindr
    Participant

    Is it possible to place the latest blog post in the “Intro” area instead? I assumed that this would be done via a shortcode but I can’t seem to get it.

    For reference here’s the site in question: dorianinnes.com

    Mehmet S.
    Keymaster

    You can use the Archive 2 template.

    laurahuet93
    Participant

    Is there a way to actually not have any blog posts show in the static home page? I tried typing 0 and none in the line you suggested, but it didn’t work. Thanks!

    evobulgarevo
    Participant

    Hi,

    When setting the number of posts to a specific number, let’s say 10.. is it possible to add pagination to the page as well?

    Thanks.

    Mehmet S.
    Keymaster

    Hi,


    @laurahuet93
    : Create a new page with Default Template and select it from the static front page option under Settings > Reading. This is the regular way to adjust a static page for the homepage.


    @evobulgarevo
    : There is no pagination functionality for that page.

    Thanks

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register