Support for Envato Buyers › Forums › DGWork › How do you turn off …/?paginate1=2 on second page of products on the homepage?
- This topic has 4 replies, 2 voices, and was last updated 8 years, 9 months ago by
FocuxTheme Support.
-
AuthorPosts
-
-
January 24, 2017 at 11:15 pm #11157
bdendas
ParticipantHow do I change the URL of the second page of the home page?
Also, how can I turn off the revolution slider on the second, third, etc. page after the home page?
Example: http://indiegetup.com/?paginate1=2
-
January 26, 2017 at 4:19 pm #11159
FocuxTheme Support
KeymasterHi
1 Please let me know what kind of URL you like, I will change the ThemeVan shortcodes plugin codes for you.
2. Currently, both revolution slider, DGWork and Visual Composer doesn’t support auto hide a specific section (like top slider) when the home page is paged. The only way that I can do for you is that update the ThemeVan Shortcodes plugin, insert a class selector when the home page is paged, then you can hide the top slider with the custom CSS.
I will do it after you tell me the details of the first issue.
Thanks!
-
January 28, 2017 at 12:50 am #11165
bdendas
ParticipantJohn,
I keep saying this, but you’re the man, thank you! Okay so just adding 2, 3, etc. to the URL for these pages would work. So if I click the next button at the button of the page it would bring me to indiegetup.com/2. That would do for now.
Thanks,
Brandon -
January 29, 2017 at 6:01 pm #11171
FocuxTheme Support
KeymasterHi
You have to use PHP rewrite rules to rewrite the ?paginate1=2 as /2 or /page/2. I will ask our developer to give you a rewrite rule that you can add into .htaccess file. This is not the theme coding issue.
By the way, maybe your hosting support can also help you on this.
Thanks
-
January 30, 2017 at 5:28 pm #11179
FocuxTheme Support
KeymasterHi
My developer told me that you can’t rewrite the URL, because ?paginate1=2 is a query, if user placed multiple pageable product grid sections, then the query will be ?paginate2=* or ?pagination3=*. So, if you remove ?pagination1, the second page will not work properly.
He said you can only modify the ‘pagination’ text, for example change it to “paged”, then the URL will be …/?paged1=2, or remove the pagination text, then the URL will be …/?1=2
Now we can only add a new option that allow users to define their own pagination text, for example, if user define the text to “digtial-product”, then the URL will be …/?digital-product/2 Currently, this is only solution.
Is that OK for your need?
-
-
AuthorPosts
- You must be logged in to reply to this topic.
