-
AuthorPosts
-
October 12, 2021 at 3:58 pm #1324612
RE: The Single Post Navigation.
Something was causing my Comics sale page to glitch on the 4 same comics to to load ‘short’ only on this page. Over and over; Easy Cart fixed it and in so doing, turned off the Single Post navigation …
So OKAY – they’re disabled according to the above and my question under thread #1323064; I REALLY liked them as I needed something to move between my categories for the customer… I NEED THEM !!!!! I need a menu for the customers to navigate through the different categories
– BUT turning them off left a rogue one going to a comic (Betty Wicked #4B) on all pages … this feature has been turned OFF.I use WP Easy Cart and was told the following:
Well those are not going to work with EasyCart. They are a design element from the theme, and they utilize wordpress categories and pages to flip through posts, and while our system uses custom posts for categories and posts which won’t be seen in this enfold system like that…
I think this theme allows you to disable those so they don’t interfere with your site. I think the only way to actually use those would be a complicated matter of adding shortcode to actual wordpress pages to get the categories there on usable pages, then perhaps they allow you to specify specific links back and forth, but I think it would get complicated.Is there a way to fix this? because if what WP Easy Cart is saying – this is an issue across the board for Enfold Theme and Easy Cart users :(
so there’s one thing you awesome code writers can update
I would like to have the choice of using this feature as it was one of the selling point for my purchasing…Thanks
TSP Cart
[See Thread #1323064]October 14, 2021 at 10:36 am #1324894Hey TSPCart,
Thank you for the inquiry.
Would you mind providing a screenshot of the issue? We cannot see the problem in the single product page. If the default post navigation is not working as expected, try to replace it with widgets generated by different plugins such as the following.
// https://wordpress.org/plugins/list-custom-taxonomy-widget/
// https://wordpress.org/plugins/custom-post-type-widgets/Best regards,
IsmaelOctober 14, 2021 at 12:22 pm #1324913UPDATE NOTE: I found the error to the misloading products; some of the secondary photos had dropped. Reinstalled, that part works fine now…
Okay – I had turned that element off as it was messing with my page view on the comics category that must have been part of my problem – I was using them on the category pages… I really like the way they looked for the customer to be able to browse through the categories left and right on each side of the browser….
I never even looked on the single product as they worked fine (for a while) on the category pages; then flaked out and created an issue with the comic category page loading several of the comics ‘short’
Now if I wanted something along those lines – a side arrow on each side of the screen for the categories – is that available?
Would the two you suggested work like that? For the categories?
TSP- This reply was modified 3 years, 1 month ago by TSPCart.
October 16, 2021 at 3:56 am #1325194Hi,
The post navigation will only display in the single post page — it is using the get_adjacent_posts function by default, which retrieves the next and previous posts. The navigations will not display in the archive or category pages without modifying the templates and creating new functions. Unfortunately, this kind of customization requires significant amount of time and is beyond the scope of support. You may need to hire a freelance developer or have our partner Codeable provide you with a working solution.
Thank you for your patience.
Best regards,
IsmaelNovember 2, 2021 at 12:35 pm #1327440Dear Ismael,
thanks for this info on the single post navigation. I have activated it in the Enfold Theme options, but it doesn’t show up in most of my my single post pages. What could cause this? I don’t see any difference in the settings on the individual blog pages when comparing the ones that show the next-prev arrows and the ones that don’t show the navigation / these arrows.
Hope you can give me some clues on what to do to enable the single post navigation on all my posts.
Best regards, Cornelie
November 3, 2021 at 3:40 am #1327554Hi,
Thank you for the update.
The post navigation is not displaying in some of your posts because there are fullwidth elements within the page. The post navigation is set to hide by default on pages with fullwidth elements including sliders, grid row or color sections. To enable it back, you have to adjust the settings using the avia_post_nav_settings filter.
Please add the code in the functions.php file.
/* * Add your own functions here. You can also copy some of the theme functions into this file. * WordPress will use those functions instead of the original functions then. */ function avia_remove_fullwidth_slider_check($settings) { $settings['is_fullwidth'] = false; $settings['skip_output'] = false; return $settings; } add_filter('avia_post_nav_settings','avia_remove_fullwidth_slider_check', 10, 1);
Best regards,
IsmaelNovember 3, 2021 at 9:58 am #1327597Dear Ismael,
thanks for your quick and useful help! I have included the new code and it works on pages with fullwidth elements.
Is there also a code to add a loop in the single post navigation? That would be great!
I have already included some code (found in your support forum) to only display posts within the same category.
The code to switch the content of left/right arrows with “ASC” (see below) does not seem to work on my pages. Probably the order is already ascending and I should change it to descending”; however, “DES” or “DESC” does not work either. What is the right code for descending?add_filter(“avf_post_nav_loop_args”, function($args, $settings) {
$args[“orderby”] = array( ‘post_date’ => “ASC”, ‘ID’ => “ASC”);
return $args;
}, 10, 2);Thanks!
Best regards, Cornelie
November 5, 2021 at 7:25 am #1327876Hi,
Thank you for following up.
Is there also a code to add a loop in the single post navigation? That would be great!
Unfortunately, that option is not available out of the box. You may need to hire a freelance developer to modify the default behavior of the post navigation.
Best regards,
IsmaelNovember 5, 2021 at 9:06 am #1327909Dear Ismael,
thanks for your reply regarding a loop in the single post navigation. Would be great if you could include this in a future version of Enfold. Since I am a big fan of your theme, I assume I will be using it for a while. :-)
Is it possible to make layout changes in CSS to the left/right arrow content? For example, the background-color is now black. How to change this color? And the hight is also preset, but unfortunately to narrow to display some of my longer blog titles. How to adapt the hight (or width)?
Thanks in advance for your hints on that.
Best regards, Cornelie
November 7, 2021 at 10:23 pm #1328141Hi,
Thank you for your patience, to change the background color of the transparent post navigation, try adjusting this css to suit:#top #wrap_all .avia-post-nav { background: rgb(17 141 169 / 48%); }
if you want it to be taller and wider like this:
you can try adjusting this css:#top #wrap_all .avia-post-nav { background: rgb(17 141 169 / 48%); height: 200px; } .avia-post-nav:hover .entry-info-wrap { width: 300px; } .avia-post-nav .entry-info { width: 278px; height: 163px; }
After applying the css, please clear your browser cache and check.
Best regards,
MikeNovember 10, 2021 at 5:16 pm #1328550Dear Mike,
thanks so much for your CSS tips! That was exactly the code I was looking for.
Best regards,
CornelieNovember 11, 2021 at 6:35 am #1328607 -
AuthorPosts
- You must be logged in to reply to this topic.