Post hiding from Visitors

  • Author
    Posts
  • #40519

    Hi everyone 🙂 My question is little bit unusual. For example my home page shows 6 of my latest posts. When I click to older posts it goes to second page of main page and shows 6 more posts and then 3. page and so on… But I want to hide every page after my first page. so there will be latest and Just six posts at home page. I dont want visitors to see my older posts when they are navigating my site. I want to hide from visitor and not from google obviously 🙂 I want my posts to ranked. I use mantra theme. I hope you understand my question 🙂

    #40575
    Zed
    Cryout Creations mastermind

    You could hide the pagination on the homepage with custom styling:

    body.home .pagination_container {
        display: none;
    }

    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #40577

    I am really not familiar with coding, I did some changes before about edit section. Will I do it here too?

    #40685
    Zed
    Cryout Creations mastermind

    Custom styling should be placed in the theme’s Custom CSS field (in the settings) or in a CSS plugin of our choice.
    Don’t edit files unless you know what you are doing.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #40706

    I just copy and paste

    body.home .pagination_container {
    display: none;
    }

    this to theme’s Custom CSS field right ?

    #40889
    Zed
    Cryout Creations mastermind

    Yes, that would do it.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #40907

    thank you so much, I will do it

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

The topic ‘Post hiding from Visitors’ is closed to new replies.