Forum Replies Created

Viewing 30 posts - 1 through 30 (of 118 total)
  • Author
    Posts
  • in reply to: Magazine with format link isn't run #1188521

    Really? Why can’t we adjust the functions file, like we did with the previous code? The previous code (that I posted above) used to work. Worked perfectly. Now it sounds like a line of code changed. Can you please provide what that new code looks like, that we can easily drop into our child theme???

    Use the Blog Post widget does not work. Post publish date and sorting do not appear, which are critical for listing our links.

    in reply to: Magazine with format link isn't run #1187747

    Correct – we can not put this directly in the template file; it must be added to the child functions theme. Please provide the code that allows us to embed this into functions.php.

    in reply to: Magazine with format link isn't run #1187491

    This is critical for us, too. We need this to work again with the Magazine format (need the filtering, tabs available).

    This is what we previously had in our CHILD functions file. What should we change it to so it works now?

    function avia_custom_link_content_filter($content)
    {
    	//retrieve the link for the post
    	$link 		= "";
    	
    	$pattern1 	= '$^\b(https?|ftp|file)://[-A-Z0-9+&@#/%?=~_|!:,.;]*[-A-Z0-9+&@#/%=~_|]$i';
    	$pattern2 	= "!^\<a.+?<\/a>!";
    	$pattern3 	= "!\<a.+?<\/a>!";
    	
    	//if the url is at the begnning of the content extract it
    	preg_match($pattern1, $content , $link);
    
    	return $link[0];
    }
    in reply to: Portfolio Grid Add Read More Button #1040396

    thanks!

    in reply to: Portfolio Grid Add Read More Button #1038207

    Hello – is it possible to add this script to a child theme?

    in reply to: Autoplay: start videos when they appear in viewport #1030121

    Hi – checking on this since several years have gone by since my initial question.

    Wondering if we can add some sort of code ot get the Easy Slider video to autoplay only when showing in the viewport. I realize we can still use the LayerSlider, but their settings are complex and not easy for our clients to navigate. Would love for the simple Easy Slider wizard to have this functionality.

    Thanks!

    Thank You, Yigit! It worked. ;)

    in reply to: Activate third google font #1006696

    Thank you Ismael, this worked.

    ok – thanks, code is now removed.

    in reply to: Activate third google font #1006350

    Droid Serif is already in the dropdown list of fonts available to the theme, so I shouldn’t need to upload a second version, correct?

    Regardless, I have this in my functions file:

    add_filter( 'avf_google_heading_font',  'avia_add_heading_font');
    function avia_add_heading_font($fonts)
    {
    $fonts['Droid Serif'] = 'Droid Serif:400';
    return $fonts;
    }
    
    add_filter( 'avf_google_content_font',  'avia_add_content_font');
    function avia_add_content_font($fonts)
    {
    $fonts['Droid Serif'] = 'Droid Serif:400';
    return $fonts;
    }

    And am using !important to the text css to try and override the theme choice fonts, but not having any luck.

    Thanks~

    • This reply was modified 6 years, 2 months ago by kristenangel.

    Thanks Victoria—unfortunately this doesn’t work. When a new post gets added, the masonry item # changes. I need the tiles to always be the colors listed on that order, so the first tile will be yellow, second tile always cyan, etc. Is there a way to apply nth-child to this css to modify the background colors?

    Hi Victoria,
    Thanks for helping. I was on vacation over the weekend; back now! I’ve removed the code for you to begin testing.

    Sure – link below.

    Currently I have the six squares on the homepage in yellow, and two are appearing in a light blue (these two images have background featured images – the css is writing the blue over the picture). The following code is making it appear this way:

    .main_color .container .av-inner-masonry-content:nth-child(1) {
    	background-color: #FFD035
    }
    
    .main_color .container .av-inner-masonry-content:nth-child(2n+0) {
    	background-color: #95D4F4 !important
    }
    .main_color .container .av-inner-masonry-content:nth-child(3n+0) {
    	background-color: #28AC50!important
    }
    .main_color .container .av-inner-masonry-content:nth-child(4n+0) {
    	background-color: #F26722!important
    }
    .main_color .container .av-inner-masonry-content:nth-child(5n+0) {
    	background-color: #0177C1!important;
    	color: #fff;
    }

    …which is NOT correct. I am looking to make each box a different color, whether it is an overlay on an image or jsut a background color, it should be the size different colors as listed above.

    • This reply was modified 6 years, 2 months ago by kristenangel.
    in reply to: Cross Sells not displaying on cart page #880372

    Hi – I’m a little disappointed since this feature is shown on the Enfold template. Cross-sells appear on the cart page on the main Enfold site; why isn’t it available for us to use too? Please remove it from your template if it is not actually available.

    Cross sells visible here (once you’ve added an item to the cart): https://kriesi.at/themes/enfold/cart/

    in reply to: Cross Sells not displaying on cart page #879211

    Add this event to your cart: https://1000-petals.com/event/wellness-2-jan-5-cedarrapids/
    You can do so on the bottom of the left sidebar. Make sure you enter your info when the short form appears.

    On the product page, I’ve added the cross-sell items in the Product Data / Linked Products panel.

    When you review your cart, cross sells do not appear.

    in reply to: Cross Sells not displaying on cart page #878175

    Hi – the shop item (in this case, the event ticket) needs to be added to the cart on your computer for you to see it on your cart.

    Login info below. Thanks.

    Ok, for those with the same issue – digging through support forums and found this on The Event Tickets Plus (MOdern Tribe) website. Add this to your functions file:

    add_filter( 'tribe_reverse_currency_position', function(){ return null; } );

    This will force all currency symbols to the left of the price. They said this is a workaround until their next release.

    We really need the Vimeo videos to appear again; this is a huge issue on my client’s site at the moment.

    BUMPing has worked for me in the past; the guys have always been very helpful with a faster turnaround than this. Hoping someone can look into this issue. I can’t find any other threads relating to this exact issue in the accordion.

    Summary of issue: I’ve placed a Vimeo video link in an accordion panel’s wysiwyg several months ago. The videos used to open properly, but we just noticed that the links are no longer working, and we get an error saying “Oops! the embed code for this video is not valid”. See above for details.

    *bump*

    in reply to: Image Lightbox and Vimeo issue #839038

    Hi Rikard,
    This issues is happening for me as well. I have a few links in an accordion wysiwyg. They are written like this (code view):
    PreK Lesson

    No matter what, the video is opening in a lightbox (not a new window) and I get the error “Oops! The embed code for this video is not valid.”

    This used to work. Can you let me know if there is a new shortcode or something else I should try for linking to Vimeo videos (through an accordion wysiwyg; not through the regular layout builder)?

    Thanks,
    Kristen

    in reply to: Animated (js) color background in color sections #806630

    Hi there,
    I’m having an issue very similar to this, but because my js starts with

    $(document).ready(function() {
      /*---------------------------------------
        Circle animation
      ---------------------------------------*/
      // Create canvas
      $('.dots').append('<canvas id="dot_canvas"></canvas>');
    

    It’s not working.

    Here’s my codepen: https://codepen.io/angeldesign/pen/mwVEvm

    Do I need to start or end the string (that Ismael posted above) differently to accommodate canvas?

    in reply to: Random order isn't random in Masonry Post Listing #729523

    I there, I’m having this same issue. The “Random” masonry posts are not random.

    That worked!!! Thank you so much!

    I’m assuming therre’s a typo in this—are those arrays supposed to both be (7854,46)? They are returning the same result as of now.

    I have updated the code to include correct titles:

    add_filter('avf_title_args', 'fix_single_portfolio_title', 10, 2);
    function fix_single_portfolio_title($args,$id)
    {
        if(is_singular('portfolio')  && !is_single(array(7854,46))){
            $args['link'] = get_home_url() ."/work/";
            $args['title'] = "Work";
        }
        elseif(is_singular('portfolio') && is_single(array(7854,46)))
        {
            $args['link'] = get_home_url() ."/who-we-are/";
            $args['title'] = "Who We Are";
        }
    
        return $args;
    }

    —bump—

    in reply to: Autoplay: start videos when they appear in viewport #726271

    For anyone who sees this post – you can now set this by using LayerSlider WP’s autoplay video in viewport settings.

    No, we won’t be adding more posts with the team category.

    In order to get posts to have the “What we know” page title, I created a copy of single.php in my child theme and added this under the get_header() call:

    $title  = __('What We Know', 'avia_framework'); //default blog title - CHANGED
    	$t_link = home_url('/what-we-know');
    	$t_sub = "";
    
    	if(avia_get_option('frontpage') && $new = avia_get_option('blogpage'))
    	{
    		$title 	= get_the_title($new); //if the blog is attached to a page use this title
    		$t_link = get_permalink($new);
    		$t_sub =  avia_post_meta($new, 'subtitle');
    	}
    
    	if( get_post_meta(get_the_ID(), 'header', true) != 'no') echo avia_title(array('heading'=>'strong', 'title' => $title, 'link' => $t_link, 'subtitle' => $t_sub));

    Maybe there is a way to do this for ‘team’ portfolio items?

    *bump*

    Sure – login info below.

    Thanks, Yigit. It’s very close… half of it is working. With a few modifications, I was able to link the portfolio items back to the Work landing page. However, the Team category items are using the code for work. Probably because the && !in_category(”) was removed… however I can’t set it to just one category because the portfolio items span many categories. Is there an if/then statement if it is NOT in the category ‘team’?

    Here’s what I used:

    add_filter('avf_title_args', 'fix_single_portfolio_title', 10, 2);
    function fix_single_portfolio_title($args,$id)
    {
        if (is_singular('portfolio')){
            $args['link'] = get_home_url() ."/work/";
            $args['title'] = "Work";
        }
        elseif(is_singular('portfolio') && !in_category('team')){
            $args['link'] = get_home_url() ."/who-we-are/";
            $args['title'] = "Who We Are";
        }
    
        return $args;
    }

    I’m thinking if I can add something into this calling all other categories other than ‘team’, it will work.
    if (is_singular('portfolio')){
    Thanks so much for your help!

    • This reply was modified 7 years, 11 months ago by kristenangel.
Viewing 30 posts - 1 through 30 (of 118 total)