Forum Replies Created

Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • in reply to: Code Block not working with Page Content #1013839

    This didn’t work. On the page where the page is included we still don’t have the codeblock processed rather we see

    [avia_codeblock_placeholder uid=”0″]

    Again, to replicate this error:

    1. Make a page with a codeblock that has some javascript or css in it – call it “Page 1”
    2. Make a page (“Page 2”) that used the “Page Content Element” to include Page 1 into Page 2

    You will see the shortcode of the codeblock and the code block isn’t processed.

    in reply to: Custom post type no working with advanced layout #955923

    I did figure part of it out. It looks like when the advanced builder is in use, the theme reverts to using the file called “template-builder.php” no matter what kind of post type it is.

    It seems to me that this is very counter productive. No matter if we are using the advanced builder or not, the theme should follow the same template hierarchy.

    I had to create a custom version of that file in my child theme and then riddle the file with is_singular(‘lesson’) checks.
    Why doesn’t the advanced builder use the_content filter? Or something that makes using other post types easy to customize.

    in reply to: Animated Numbers Don't Always Work in Chrome #911453

    Can I do this without editing core code?

    in reply to: Animated Numbers Don't Always Work in Chrome #910408

    I was able to get the code posted to work, but with a slight modification. I had to put it inside a $(window).load function.

    With more testing it seems like the numbers only animate when the element is really “high” on the page. Like almost to the top. Can the number animation get triggered when they are lower? If you have the element really low on the page, that is the last element before the socket (no footer) then the user will never scroll the element high enough on the page to trigger the animation and it looks like all the stats are zeros.

    in reply to: blog shortcode not implementing pre_get_posts filter #788661

    Is this new code for loop-index.php? I knew were the loop code existed. I’m trying to find where in the Enfold code does it deviate from a “normal” loop.

    As I dig into this issue some more. I believe the issue isn’t in the Blog Posts shortcode but in the loop itself.

    Because when I look at just the category link that shows all the post in the category. Using Enfold the category page doesn’t filter the results. Switching to the 2016 theme. It filters just fine.

    I would think this basic loop (category posts) would follow standard WP practices to other plugins can use filters.

    in reply to: blog shortcode not implementing pre_get_posts filter #787479

    Yes, but that doesn’t really help me. I can’t turn it off. How can I ensure Enfold follows loop best practices so plugins can filter the loop normally?

    in reply to: blog shortcode not implementing pre_get_posts filter #786785

    I must not of explained myself very well. The code I put in works. I was just showing you that to prove that query_posts function normally works.

    But, how blog.php and loop-index.php work together doesn’t allow for the filters. Or some other weirdness that doesn’t process the membership plugin.

    Now when I use basic code, like what I pasted in, everything works. (or when using theme 2016).

    So, there is something with the Blog Post shortcode that isn’t using standard processes.

    WPMU DEV basically says that it works in 2016 and 2017 theme so it isn’t their problem.

    I ran a number of tests using query_posts like the below code and it always works just fine (I.E. filters the results to only show what the user has access to) As soon as I switch to your Blog Posts element it doesn’t work. I can’t find where, but it seems like your Blog Posts element (shortcode) doesn’t use the pre_get_posts filter?

    In fact, the wordpress docs specifically say to NOT use the query_posts method.

    Any suggestions would be appreciated.

    add_action( 'wp_footer', function() {
    	query_posts( 'posts_per_page=5' );
    
    	while ( have_posts() ) : the_post();
    		echo '<li>';
    		the_title();
    		echo '</li>';
    	endwhile;
    
    	// Reset Query
    	wp_reset_query();
    } );
    in reply to: How to edit woocomerce product page layout #730118

    Any word on this? I am on a deadline and could use your help.

    in reply to: How to edit woocomerce product page layout #729551

    I want to move the side bar all to the left of the image. I will post a link to our design in the “private content” section for you to review.

    in reply to: How to edit woocomerce product page layout #729062

    I am looking to move where the shop sidebar is located. But, the shop sidebar is not apart of the normal woocommerce sidebar code. Seems to be put in separately.

    in reply to: HTTP error when uploading media #630258

    I’ve tried everything… Upping memory limit in wp-config, changing folder permissions, etc. Still no way to upload files.

    in reply to: lightbox working for images but not video #587391

    I figured it out. It was the plugin Google Analytics By Jules Stuifbergen. I deactivated and all is well.

    in reply to: Video not playing in color section – opens Youtube #587390

    I figured it out. It was the plugin Google Analytics By Jules Stuifbergen. I deactivated and all is well.

    in reply to: Using rel=0 parameter in YouTube url #586567

    I figured it out… It was a Google Analytics plugin.

    in reply to: Using rel=0 parameter in YouTube url #586565

    That plugin didn’t work for the modal videos. Any idea how to remove related video in the lightbox?

    in reply to: Video not playing in color section – opens Youtube #586564

    I have the same problem. Loaded in the demo content and video on the home page (like this: http://kriesi.at/themes/enfold-startup/) won’t play in a modal lightbox window.

    I will only open in a new window.

    A check of the code shows the lightbox class is added to the link, just the lightbox isn’t working.

Viewing 17 posts - 1 through 17 (of 17 total)