Tagged: x
-
AuthorPosts
-
February 15, 2017 at 8:23 am #1371978
Baywalk MallParticipantHi,
Love using this theme and am using it for a mall’s website. I have setup a custom post type for our stores. The thing is, with posts, there’s navigational arrows at the top which allow you to quickly switch between the most recent posts as seen in the attached screenshot (highlighted in yellow).
I’ve added the following line of code to my functions.php to have posts sorted in alphabetical order on the website, but it doesn’t affect the post navigation.
add_action('pre_get_posts', 'category_sort_by_title'); function category_sort_by_title($query) { $query->set('orderby', 'title'); $query->set('order', 'ASC'); }If you click on “Matthew’s Relaxed Bar & Restaurant” at the following link, you will notice it doesn’t allow you to go back because it’s the last store added (by date). However, it falls under “M” and there are several stores after it alphabetically.
How can I have this post navigation scroll/switch through posts alphabetically?
February 15, 2017 at 11:22 am #1372213
RupokMemberHey there,
Thanks for writing in! Regretfully, this particular customization request is outside the scope of our support as this is not related to an issue with the theme and instead has to do with your customization of it. As such, you will need to investigate this particular issue on your own or seek help from a developer should you not feel comfortable making these changes yourself. If you have any further questions about the theme, we are more than happy to provide you with assistance on these inquiries.
Thank you for your understanding.
February 15, 2017 at 11:52 am #1372252
Baywalk MallParticipantGot you. As a workaround, in case I am unable to achieve this. Is there a way to hide these navigational arrows or the breadcrumbs entirely?
February 15, 2017 at 3:36 pm #1372512
JadeModeratorHi there,
You can disable the breadcrumbs in Appearance > Customize > Header > MISCELLANEOUS > Breadcrumbs.
Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1371978 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
