• Resolved t_b_x

    (@t_b_xhotmailcom)


    Hello Ghazale,
    we discovered your WP theme ghazale and are using it for our homepage. Nice work!

    Now we did like to use infinite scroll for our blog. This can be provided by Jetpack but we do not want to use it because it slows down our site dramatically. So i discovered WP-plugin “Infinite Scroll”. To make it use, i did need to know some selectors of your theme (sorry i am not very familiar with reading and understanding CSS code)
    – Content Selector (Div containing your themes content)
    – Navigation Selector ( Div containing your themes navigation)
    – Next Selector (Link to next page of content and)
    – Item Selector (Div containing an individual post)

    It would be glad if you could easily provide these informations ??

    Thanks and kind regards from Germany
    Norman

    PS: as PhyDestiny mentioned, your current contact formular is not allowing to sent anything.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author ghazale

    (@ghazale)

    Hi Norman

    Of course, I’ll provide any information that you may want:) By the way my contact form is fixed now and you can contact me there as well.

    Now regarding the information:

    • Content Selector: If it means the whole content that comes after the header, then you can use #content . It’s the id of the content selector so don’t forget the hashtag ??
    • Navigation Selector: If it means the navigation on top that provides navigation for the whole pages, then you can use #site-navigation. However the navigation is not nested inside a Div, it is inside a <nav> tag. But you can use the same id, hopefully it might work.
    • Next Selector: If it means the next page of blog posts, then you can use .nav-next . It’s the class of the posts navigation selector. so don’t forget to put a “.” before “nav-next”. The whole navigation for blog posts, nested inside a Div with the class .posts-navigation which includes both “next” and “previous” pages. I mentioned this so it might help you to realize the structure better.
    • Item Selector: For this you can use the class of the <article> tag, which is named .post (again it’s a class so mind the dot). or if the plugin doesn’t accept the <article> tag then you might use another class which is belong to a Div that is nested inside the article tag. The class name for this Div is .index-box (mind the dot)

    I hope this information is gonna help you, nonetheless if you wanted any further assistance, you are always welcome to get in touch ??

    Cheers:)
    Ghazale

    Thread Starter t_b_x

    (@t_b_xhotmailcom)

    Hi Ghazale,

    thanks for the feedback. I tested several configurations/syntax and plugins for that infinite scroll but only get that work with jetpack (which doesn’t require any configuration). It might be hard to find out which selector or class and syntax is definitely required by the plugins.

    Maybe there’s a way to integrate infinite scroll directly into the theme? Thought i read about that somewhere (inklusiv option to activated/deactivated via WP read options). But if this is a big struggle, we possibly revert to jetpack (or not^^).

    Nevertheless big thanks & kind regards,
    Norman

    Theme Author ghazale

    (@ghazale)

    Hi Norman

    I haven’t used that plugin or any other plugin for this purpose so far. But if you want to show all your posts on the same page (which those plugins offer), why not using the built in option of WordPress itself? You can show your posts (Full or Excerpt) all at the same page by changing the “Blog pages show at most” in Reading settings. You can change the number in that setting to a big number that suits your needs. This way you have all your posts on one page and the posts navigation will be eliminated automatically. And I think it wouldn’t have a dramatic drop on speed performance. You can test it.

    In case you wonder where you can make this change. here is the address:

    Settings > Reading > Blog Pages Show at most >>>> change this number to a big number like 500 or whatever that suits you.

    If there’s anything that I can help you in this matter, feel free to contact me anytime. I’m always available to help:)

    Wish you a happy time;)

    Thread Starter t_b_x

    (@t_b_xhotmailcom)

    Hi Ghazale,

    you’re right, this might be an easy and lightweight solution xD

    Thanks and kind regards,
    Norman

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Infinite Scroll Options’ is closed to new replies.