Forum Replies Created
-
AuthorPosts
-
November 24, 2017 at 2:08 am in reply to: IMPORTANT! Video Fullscreen with WordPress 4.9 with Enfold 4.2 #880993
When will the fix/patch be released? This is an issue on 3 of my websites currently!
Thank you both!
Hello,
Above you say: “I have checked the link and it seems you have already done it. Let us know if you need more assistance. :)”
Could please post the code to show how this is done?
Hi Victoria,
Thank you for your response. That definitely helped to figure it out.
This was due to a hosting environment change, which produced the error: “Failed to load resource: the server responded with a status of 404” in the Avia Layout Builder for the admin-ajax.php file.
The fix was to disable the “OWASP ModSecurity Core Rule Set V3.0” in my WHM hosting account.
It would be great if Kriesi at some point created a guide on which specific rule-sets are needed to be added to ModSecurity for OWASP ModSecurity to work without disabling it.
For now this works.Thanks again!
July 31, 2017 at 7:40 pm in reply to: Saving didnt work! Please reload the page and try again – Can't Save or Edit #832366Hi Mike,
Thank you for your response.
I figured it out.
This was due to a hosting environment change, which produced the error: “Failed to load resource: the server responded with a status of 404” in the Avia Layout Builder for the admin-ajax.php file.
The fix was to disable the “OWASP ModSecurity Core Rule Set V3.0” in my WHM hosting account.
It would be great if Kriesi at some point created a guide on which specific rule-sets are needed to be added to ModSecurity for OWASP ModSecurity to work without disabling it.
For now this works.Thanks again!
July 28, 2017 at 4:56 pm in reply to: Saving didnt work! Please reload the page and try again – Can't Save or Edit #831158I appreciate the suggestion, John T., however if you read the post above, that is the first thing I had tried and it did not help.
Thanks Nikko. I’ve updated the URLs with HTTPS, however this did not solve the issue of the advanced layout editor not loading.
All set!
Thank you all for your help.
For reference, the code that worked is:
add_filter('avf_logo','av_change_logo'); function av_change_logo($logo) { if(is_page(483) || has_category('music') ) { $logo = "/wp-content/uploads/2016/12/music-horiz.png"; } return $logo; } add_filter('avf_logo_link','av_change_logo_link'); function av_change_logo_link($link) { if(is_page(483) || has_category('music') ){ $link = "/music/"; } return $link; }
Hi Rikard,
Thanks for the reply.
Info below.The homepage and the rest of the site has the social media top header bar
I need the social media top header to be hidden on this specific page – ‘Music’ and on posts in the category ‘music’
So far I have something similar already setup to change the header logo using this code:
add_filter('avf_logo','av_change_logo'); function av_change_logo($logo) { if(is_page(483) || has_category('music') ) { $logo = "/wp-content/uploads/2016/12/music-horiz.png"; } return $logo; } add_filter('avf_logo_link','av_change_logo_link'); function av_change_logo_link($link) { if(is_page(483) || has_category('music') ){ $link = "/music/"; } return $link; }
Thank you so much “has” was the answer!
Thank you Guenni007
I did try it, but the code only replaces the logo on the page 483, however it does not replace the logo on the category
I have a similar need to combine these rules.
So is the following a proper syntax to have the logo show up on page 483 and on all posts under the category music, it doesn’t seem to work for me?
add_filter('avf_logo','av_change_logo'); function av_change_logo($logo) { if(is_page(483) || is_category('music') ) { $logo = "/wp-content/uploads/2015/12/music-horiz.png"; } return $logo; } add_filter('avf_logo_link','av_change_logo_link'); function av_change_logo_link($link) { if(is_page(483) || is_category('music') ){ $link = "/music/"; } return $link; }
November 19, 2016 at 2:04 am in reply to: How to stop Background Video in Color Section from Auto Looping? #714231Perfect! Thank you!
The scroll effect works for me right now for this project. However this is definitely something to add to the bug list for Enfold, since the parallax effect seems to be broken on mobile devices. I have also discovered that the parallax effect creates a single background in Firefox on Android. So cross-browser and cross-platform compatibility could use some troubleshooting and debugging.
Thank you for your help!
Tried updating to latest version that did not help. However switching to Scroll instead of Parallax fixed the issue. Thank you!
August 3, 2015 at 5:15 am in reply to: Customize default individual blog post template? Add social share box to top #481856That helped a lot. Thanks!
For the curious the full solution which worked for this instance is:
Edit loop-index.php and add if ( is_single() ) { avia_social_share_links(); } between the span and the header close tag:echo '</span>'; if ( is_single() ) { avia_social_share_links(); } echo '</header>';
Also change to the following code in loop-index.php
echo '</span>'; echo "<span class='text-sep text-sep-date'>on</span>"; echo "<time class='date-container minor-meta updated' $markup>".get_the_time(get_option('date_format'))."</time>"; echo '</span>';
In style.css add
/* INDIVIDUAL BLOG POST TEMPLATE STYLING ================================================== */ .entry-content p { font-family: Georgia,Cambria,"Times New Roman",Times,serif; font-size: 1.125rem; line-height: 1.6; padding: auto 15px !important; } .entry-content p a { font-family: Georgia,Cambria,"Times New Roman",Times,serif; } div.entry-content { padding: 15px 15px 5px 15px; } .post-meta-infos { top: 0; } .post-meta-infos, .vcard.author span.fn a { font-size: 1em; } .post-meta-infos .text-sep, .post-meta-infos .date-container { color: #7e7e7e; } header.entry-content-header { padding: 15px 15px 5px 15px; } .single .entry-content-header .av-share-box { margin: .5em 0 2.5em; } .av-share-box ul li a { font-size: 2.3em; }
July 30, 2015 at 10:41 pm in reply to: Customize default individual blog post template? Add social share box to top #480986Thank you Elliott.
I have edited loop-index.php as per your suggestion. However it’s not a viable solution.
The date and time now appear as July 8, 2015/by Author NameJuly 8, 2015/
And the social buttons are above the featured image and are also appearing on the blog page. -
AuthorPosts