Forum Replies Created
-
AuthorPosts
-
Hi, I can’t get this to work. Ive been looking for a solution to this for a while as I am sick of having to tell clients to clear cache. Also obviously would like a way to know normal users are seeing the latest version. I have added the above code which does add a version number which is a good start but on my cached browsers it still shows the old version numbers?
So logged in (non cached) is showing the latest version /themes/thetheme/custom.css?ver=1613571623
where as the cached version is showing /themes/thetheme/custom.css?ver=1613570555 .Am I missing something?
thanks
October 21, 2019 at 5:42 pm in reply to: Enfold and ACF Google Maps location suggestions not working #1149918Confirmed! (ava_deregister_gmaps) sorted it for me too.
thanks
October 16, 2019 at 2:19 pm in reply to: Enfold and ACF Google Maps location suggestions not working #1148467I too am having the exact same issue. It was working before but seems to have stopped.
If I remove the api key from enfold settings, the backend ACF map does not load.
I have tried both methods in my child’s functions.php from here: https://www.advancedcustomfields.com/resources/google-map/
The map will not show at all if Enfold does not have it’s API field filled in.
I tried switching to twenty nineteen, checked the edit post and I got the google maps cannot load message, then I added the exact same code I added to my enfold child functions.php to the functions.php in twenty nineteen, went back to post edit the map loads and suggestions come in.
This means to me that enfold is ignoring the ACF inclusion completely and only counting it’s own.
I have even tried the disabling the enfold maps as described here: https://kriesi.at/support/topic/disable-google-maps-api-call-in-backend/#post-308708
But this does not work either, it still behaves the exact same way, even with this disable maps script, if I pop the API key into Enfolds settings, it loads a map but no autocomplete, I take it away, I get nothing. I have been running around in circles for 2 days on this now.
I would really appreciate some help.
mmm… I did a fresh copy… Straight from the staging server to the live, I will attempt again
Hi Mike, I just uploaded the copy of enfold to my live site and no quantity fields came through?
Did you add a setting somewhere?
thanks Mike, the quantity buttons are there!
so this is a new version of enfold? Will I be ok to update if a new one comes in?
thanks
This reply has been marked as private.Hi Mike, thanks for the reply, how about the yith plugin though? It’s doing the exact same thing, could it be that both of these plugins are broke?
Do you know of any quick view plugins that work?
thanks
HI any news? I see this has been an issue before but it seems people have given up:
https://kriesi.at/support/topic/enfold-and-quick-view-from-woo-and-plus-minus-buttons/
November 12, 2018 at 5:57 pm in reply to: How to change page title to blog post category name #1032675Hi, I am having this issue too.
I have a ‘news’ page, a ‘blog’ page and an ‘articles and publications’ page. Each has a blog element displaying the category ‘news’ ‘blog’ or ‘articles and publications’.When on the page, the page title is shown as:
<h1 class="main-title entry-title"><a href="#" rel="bookmark" title="Permanent Link: Publications" itemprop="headline">Publications</a></h1>
(the one in the header with the breadcrumbs).
This is correct, when you then read a post from this category, the page title changes to ‘Blog – Latest News’
I would like this to show the category name.
thanks!
August 10, 2018 at 10:09 am in reply to: Next selector – getting ajax 'load more' working with enfold #995884Hi, so there is no way to get a load more type button with enfold?
thanks
Hi, it happened when I upgraded on the staging server and pushed to the live server – I guess it just kept hold of those old files when pushing.
I manually updated as per your suggestion and it worked.
thanks for the tip Dude!
Hi, I would like to override this file too, I have an addition to make into the code for the latest news widget, I have only been able to do this by hacking the class-framework-widgets.php file in the parent theme. I did this on a job months ago and updated recently to find my additions were gone. Luckily I had a staging ste which had the additions still in place so was able to replace the code again, it would be great to be able to sort this within the child theme.
For anyone landing here, this is achieved by:
$output .= get_field('field_name', $entry->ID);
or if you want to use the if statement, stop/start the php with:
?> <?php if( get_field('field_name', $entry->ID) ): $output .= get_field('field_name', $entry->ID); endif; ?> <?php
- This reply was modified 7 years, 1 month ago by dannhanks.
Hi, this is almost helpful but it just plops the widget in a div above the .av-logo-container div which is pretty much where I was getting to.
There must be a way to place a file into the av-logo-container div.
yeah thanks I went on that page before, support at the search and filter plugin were very helpful and helped me sort it.
ah, this seems very complicated to just replace a file in the theme. Oh well, I will just have to put a note on the updates that this will have to be manually updated each time. It’s a shame – I have been creating child themes for enfold for the past couple of years now, I almost exclusively use enfold for all my sites, this is literally the first limitiation I have found.
The main reason for me wanting to do this is that I am using a lightbox image on a gif file.
When on the page and showing the original uploaded file, the gif animated beautifully, when the lightbox is activated for it, it shows an auto generated image which doesnt have the animation as the files that wordpress/enfold create do not pass-over the animation in gifs.
I guess I could just manually replace the image that it’s calling via ftp as there are only a couple of the site, its just a bit of a pain.
Hi, i am sure there was a way to include extra files by calling it through the child’s function file. I am sure I have done this on a project before but I can’t remember which one. I am sure a different moderator gave me some code to pull this extra file through.
HI, I know how to use a child theme but simply copying the ”enfold/config-templatebuilder/avia-template-builder/php/generic-helper.class.php” file to the same location in the child (enfold-child/config-templatebuilder/avia-template-builder/php/generic-helper.class.php) doesn’t work.
thanks!
Hi, this works great but how do I do it in a child theme?
thanks!
- This reply was modified 7 years, 9 months ago by dannhanks.
June 2, 2016 at 12:45 pm in reply to: how to get the ID of the post when you use the “avf_post_slider_entry_excerpt” #642009Hi Ismael,
I finally got to the bottom of this, in the postslider.php file, I needed to add the code:
$output .= get_field('field-name', $entry->ID);
Thanks for your help!
Dann
May 31, 2016 at 11:08 am in reply to: how to get the ID of the post when you use the “avf_post_slider_entry_excerpt” #640822Hi, I tried adding the text to the functions file and nothing happend, no extra content on the post-slider.
thanksMay 31, 2016 at 10:51 am in reply to: how to get the ID of the post when you use the “avf_post_slider_entry_excerpt” #640807hi, there are a few I need to add onto this page but one of them is called excerpt.
May 27, 2016 at 12:07 pm in reply to: how to get the ID of the post when you use the “avf_post_slider_entry_excerpt” #639233HI,
I have added this in place in my postslider.php file so my code now looks like this:$markup = avia_markup_helper(array('context' => 'entry_content','echo'=>false, 'id'=>$the_id, 'custom_markup'=>$custom_markup)); $excerpt = apply_filters( 'avf_post_slider_entry_excerpt', $excerpt, $prepare_excerpt, $permalink, $entry ); $output .= !empty($excerpt) ? "<div class='slide-entry-excerpt entry-content' $markup>".$excerpt."</div>" : ""; // addition as advised above function avf_post_slider_entry_excerpt_func($excerpt, $prepare_excerpt, $permalink, $entry ) { $field = get_field('excerpt', $entry->ID); // do something to the $field return $excerpt; } add_filter('avf_post_slider_entry_excerpt', 'avf_post_slider_entry_excerpt_func', 10, 4); // end of addition as advised above $output .= "</div>";
… this broke the site saying error message:
Fatal error: Cannot redeclare avf_post_slider_entry_excerpt_func() (previously declared in /public_html/wp-content/themes/childtheme/shortcodes/postslider.php:453) in /public_html/wp-content/themes/childtheme/shortcodes/postslider.php on line 453
Any ideas?
thanks!May 25, 2016 at 5:40 pm in reply to: how to get the ID of the post when you use the “avf_post_slider_entry_excerpt” #638162Hi, to save any further confusion:
May 23, 2016 at 11:55 pm in reply to: how to get the ID of the post when you use the “avf_post_slider_entry_excerpt” #637178hi, thanks Vinay but you have misunderstood. Its to do with the loop in:
childtheme/shortcodes/postslider.phpI am trying to get ACF’s custom fields to work dynamically in the above file.
thanks
HI, how do I achieve this with a child theme?
May 12, 2016 at 11:42 am in reply to: editing the grid layout on postslider.php to include custom data #631277Hi Andy,
a more helpful moderator answered this on the previous post I mentioned above. It wasnt an issue with the third party plugin as I was able to grab the information from the plugin, I just wasnt able to place it correctly in the theme file due to the way the that particular file in theme was coded which I was unfamiliar with.
For anyone else looking for the answer to this you can find it here:
thanks again Ismael!
: )
Thanks Ismael!!!
that worked perfectly! -
AuthorPosts