Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #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]

    #1324894

    Hey 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,
    Ismael

    #1324913

    UPDATE 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.
    #1325194

    Hi,

    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,
    Ismael

    #1327440

    Dear 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

    #1327554

    Hi,

    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,
    Ismael

    #1327597

    Dear 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

    #1327876

    Hi,

    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,
    Ismael

    #1327909

    Dear 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

    #1328141

    Hi,
    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%);
    }

    2021-11-07_014.jpg
    if you want it to be taller and wider like this:
    2021-11-07_015.jpg
    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,
    Mike

    #1328550

    Dear Mike,

    thanks so much for your CSS tips! That was exactly the code I was looking for.

    Best regards,
    Cornelie

    #1328607

    Hi Cornelie,

    Great, I’m glad that Mike could help you out :-)

    Best regards,
    Rikard

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.