Tagged: 

Viewing 30 posts - 1 through 30 (of 32 total)
  • Author
    Posts
  • #555924

    Hi there,

    I really love the new load more feature button. However, when I choose that option for my masonry grid display and select the categories I want to be displayed, when you select ‘load more’ on the actual page, other categories start showing up which isn’t what I want.

    Please can you help me sort this so other category entries don’t appear when you load more?

    Thanks,

    Krissie

    #556347

    Hey Krissie,

    Could you provide us with a link to the site in question so that we can take a closer look please?

    Thanks,
    Rikard

    #556435

    Hi Rikard,
    The site isnt live yet. I will get in touch in the new year as I am now on holiday. I will create a login for you so you can see what I mean.

    So that shouldnt happen then? The load more should only load posts within the categories selected?

    Im using the masonry grid and selected the categories i wanted displaying. I selected the load more option. Then when you select load more on the actual page categories appear that werent selected.

    Very frustrating!

    Cheers,

    Krissie

    #557356

    Hey!

    Thank you for the info. We are aware of the issue and it is under investigation. If you have the time, please edit the js > shortcodes.js, remove everything then replace it with this code: http://pastebin.com/2n9dyNUY

    Remove browser cache then reload the page. Let us know if it changes anything.

    Regards,
    Ismael

    #581196

    Sorry I’m not sure where I should do that? I’m using a Child Theme.. is this shortcode.js in the main theme?
    I’m a bit scared to do it. Would you mind doing it for me? Or will this be sorted in the next update? If so, I can wait if it’s not going to take too long to fix?

    Please let me know if you are going to try the code…
    Login below.

    Thanks in advance!

    #581199

    Hi!

    Please refer to my post here – https://kriesi.at/support/topic/shrinking-header-on-ipad-does-not-work/#post-574636 and change file name in the code.

    Best regards,
    Yigit

    #581205

    Sorry, I don’t understand.
    I should paste this into my child theme? This will fix the ‘load more’ button from displaying all categories??

    function wp_change_aviajs() {
    wp_dequeue_script( ‘avia-default’ );
    wp_enqueue_script( ‘avia-default-child’, get_stylesheet_directory_uri().’/js/avia.js’, array(‘jquery’), 2, true );
    }
    add_action( ‘wp_print_scripts’, ‘wp_change_aviajs’, 100 );

    Thanks Yigit!

    #581209

    Hi!

    No, you can edit shortcodes.js file by referring to Ismael’s post here – https://kriesi.at/support/topic/load-more-button-loads-unselected-categories/#post-557356 and then move it to your child theme by referring to my post here – https://kriesi.at/support/topic/load-more-button-loads-unselected-categories/#post-581199

    Best regards,
    Yigit

    #581213

    Okay, will this fix be implemented in the next update? It’s a bit daunting for me to do as I’m not a coder and I can’t risk mucking up the site, which is due to be launched in the next two weeks.

    It is a pretty bad functionality issue, so i would have thought it would be on your priority list for an update?

    Thanks

    #582110

    Hi!

    Please post the ftp details so that we can add the patch. This may not be included on the next version of the theme but we have notified Kriesi regarding the issue.

    Best regards,
    Ismael

    #582134

    Hi Ismael,

    Please can you let me know what ftp details you mean? An example would be handy.

    Thanks!

    #582473

    Hi!

    Please see – https://kb.iu.edu/d/aerg for more information.

    And example would be
    Server: http://ftp.my-domain.com
    Username: my-chosen-username
    Password: BritneySpears

    You can contact your hosting provider and they can provide you with FTP credentials.

    Best regards,
    Yigit

    #583322

    Ok please see private content for info :)

    #583949

    Hey!

    We added the modifications in the shortcodes.js file but I can’t find any page in the site with the masonry element. We created a test page here: http://mybiz-canterbury.co.uk/test-masonry/

    Best regards,
    Ismael

    #584255

    Hi guys,

    Sorry this still doesn’t work.
    I’m also getting internal 500 error messages now. That wouldn’t have anything to do with you changing the code at all would it?

    Thanks for trying! Hope you get it fixed soon though.

    #585170

    Hey!

    It is working before I left it. Did you manage to check the test page? A link to the actual pages with the masonry element will help.

    UPDATE: I checked the test page and it looks different. Did you remove the shortcodes.js file modification?

    Cheers!
    Ismael

    #585291

    Hey Ismael,

    No I’ve not touched anything. The only thing I did was to change the masonry category that it was set up to search. I wanted to see if it can load more from within the sub-categories that I selected. Well, it didn’t work. It grabbed categories that weren’t selected.

    So it’s not working still and I didn’t do anything to the code!

    Sorry.. :)

    #585847

    Hi!

    My bad. There are missing lines in the js modifications. We added those and it should be working. Please remove browser cache or hard refresh the test page. http://mybiz-canterbury.co.uk/test-masonry/

    Best regards,
    Ismael

    #587767

    I’m afraid it’s still pulling unrelated categories through when you press the ‘load more’ button. It is pulling less unrelated categories but it still doesn’t work nonetheless.

    Also, on some of my masonry grids there are forward slashes separating the categories and some have bars. I prefer the bars look, how can I get this on all of my masonry grids? If you go to the Directory page and select Development.. then compare it to the Business News page, you’ll see what I mean.

    Thanks!

    #589564

    Hi!

    The modification that we added in the shortcode.js file has not been tested thoroughly. I just found out that it doesn’t load all selected categories. We are very sorry for the inconvenience. For now, the only workaround is to display all items in a single page without the load more button. We’ll report this back to Kriesi.

    Regards,
    Ismael

    #600233

    Ok cool. How are things going with this?

    I would also like to ask why some of the mansonry categories on my website are separated by a vertical bar and others by a forward slash? Is there any way of making them all have a vertical bar? Looks much nicer.

    Cheers,

    Krissie

    #600295

    Hi!

    The patch that we provided here will no longer work because Kriesi handled the issue on a different way. This is what he said on our git discussion:

    I fixed it in a different way: when the user has no categories selected the new categories will be displayed once the load more button is clicked. If the user has selected categories the filter will only display the new ones if they are part of the user selection

    Regarding the new issue, I’m trying to login to the site to override the maintenance mode but the login credentials are not working anymore. Please check.

    Regards,
    Ismael

    #600298

    Hi Ismael,

    Login details below.

    • This reply was modified 8 years, 9 months ago by Krissieg.
    #600630

    Hey!

    Thank you for the info. Could you please provide a link to the actual page with the issue? I checked the “Development” page and all separators are forward slashes.

    Best regards,
    Ismael

    #601852

    Hey Ismael,

    If you see the following pages all the separators are bars – which is what I’d like on all of the masonry sorters throughout the site.

    http://mybiz-canterbury.co.uk/mentors/

    http://mybiz-canterbury.co.uk/news/

    http://mybiz-canterbury.co.uk/events/

    Many thanks,

    Krissie

    #603536

    Hey!

    This is possible but you have to modify the core files of the theme. Look for the helper-masonry.php file in the config-templatebuilder > aviashortcodes folder. Modify line 142:

    $output .= 	"<span class='text-sep {$term->slug}_sort_sep {$show_item}'>/</span>";
    

    Replace the forward slash with the pipe symbol.

    Best regards,
    Ismael

    #605075

    Hi Ismael,

    Thanks for the help. Thing is I don’t want to have to update this every time there is an update. Can I make the amend in the child theme?

    #605615

    Hi!

    Alright. Please try this in the functions.php file:

    // pipe
    add_action( 'wp_footer', 'ava_custom_script' );
    function ava_custom_script() {
    	?>
    	<script type="text/javascript">
    		(function($){
    			function b() {
    				$('.av-sort-by-term').find('.text-sep').empty().text('|');
    			}
    
    			b();
    		})(jQuery);
    	</script>
    	<?php
    }
    

    Regards,
    Ismael

    #605724

    Yes, it’s worked!!! Thanks so much Ismael, you rock!

    Whoop whoop!

    I’m a happy bunny. Let’s hope now that Kriesi works out a way of making the masonry load more buttons work better but I’m good for now.

    Thanks and all the best!

    #605759

    Hey!

    That’s Great! and glad we could help you with this… Please feel free to request such feature here – https://kriesi.at/support/enfold-feature-requests/ And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/

    Cheers!
    Vinay

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