Forum Replies Created
-
AuthorPosts
-
Unfortunately I can’t give access to the website’s backend. I had a similar issue with a different site as well which makes me wonder if this is related to the current version of the theme. Is it possible to provide me with a link to an older version?
I also saw an article here: https://kriesi.at/support/topic/apply-link-to-column-box/ that said you could add a link to an entire column element but I haven’t been able to get that to work.
October 22, 2016 at 8:03 am in reply to: Avia Layout Slider loads on Desktop but not on mobile screen sizes #702734I have fixed the last remaining issue.
The code below was added to the stylesheet to adjust some things but was the source of the formatting issue.
/*slider*/ .ls-slide, .ls-layer { display:inline-block !important;} /*end of slider*/
Sorry to have bothered you with this one.
-Brad
October 22, 2016 at 7:43 am in reply to: Avia Layout Slider loads on Desktop but not on mobile screen sizes #702728I have found the issue that prevented the slider from loading. There was some custom javascript that caused the issue on our end. Now that I have removed that I am still seeing an issue with the initial load frame of the layer slider. For example, if you look at the home page you will notice that the CSS isn’t taken into account when the page first loads. When you click to the next frame it shows the content in the container as expected.
October 21, 2016 at 11:50 am in reply to: Avia Layout Slider loads on Desktop but not on mobile screen sizes #702313I’m not sure if this is related but the slider formatting in the style section of the avai layout slider seems to disappear when I go back into the slider after it has been saved, or when I duplicate the slider.
October 21, 2016 at 10:45 am in reply to: Avia Layout Slider loads on Desktop but not on mobile screen sizes #702279I have added the details below. Please don’t perform any plugin, WordPress, or theme updates. We will be doing those on our end today but need to test this in a dev environment first. I also would prefer that we don’t make any modifications to the functions.php file until we can test that in another environment (if that is needed)
Thanks for your help.
Brad- This reply was modified 8 years, 2 months ago by bsomme1.
Sorry for the delay in getting a login for you. I have setup another environment for you to test things in.
Thanks again for your help.
- This reply was modified 8 years, 7 months ago by bsomme1.
I have changed this from is_singular to just is but that didn’t do anything. I’m not familiar with what I need to change.
I have tried this and a few other slugs but wasn’t able to get anything to work.
add_filter('avf_title_args', 'fix_single_post_title_cpt', 10, 2); function fix_single_post_title_cpt($args,$id) { if ( $args['title'] == 'Últimas entradas' || is_singular( 'sfwd-courses' ) ) { $args['title'] = get_the_title($id); $args['link'] = get_permalink($id); $args['heading'] = 'h1'; } return $args; }
The URL of the page is http://www.delitosfinancieros.org/courses/ecnbvm/ and the class that shows up in the body tag is:
single single-sfwd-courses postid-15661 logged-in admin-bar stretched helvetica-neue-websave _helvetica_neue customize-supportI’m not sure where a course slug can be found but I also tried single-sfwd-courses.
Thanks for your help.
Hi Josue,
I have tried several variations of this but haven’t had any luck getting the title to change for my spanish translation yet.
Is this what you had recommended using?
add_filter('avf_title_args', 'fix_single_post_title', 10, 2); function fix_single_post_title($args,$id) { if ( $args['title'] == 'Últimas entradas' ) { $args['title'] = get_the_title($id); $args['link'] = get_permalink($id); $args['heading'] = 'h1'; } return $args; }
I have also tried this
add_filter('avf_title_args', 'fix_single_post_title_cpt', 10, 2); function fix_single_post_title_cpt($args,$id) { if ( $args['title'] == 'Últimas entradas' || is_singular( 'courses' ) ) { $args['title'] = get_the_title($id); $args['link'] = get_permalink($id); $args['heading'] = 'h1'; } return $args; }
Hi Josue,
I have posted our English functions.php file below. This is working correctly so it is just the Spanish site that has the problem.
<?php // Opening PHP tag - nothing should be before this, not even whitespace // Custom Function to Include function favicon_link() { echo '<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />' . "\n"; } add_action( 'wp_head', 'favicon_link' ); add_filter('avf_which_archive_output','avf_change_which_archive', 10, 3); function avf_change_which_archive($output) { if(is_category()) { $output = __('','avia_framework').' '.single_cat_title('',false); } return $output; } add_filter( 'wp_nav_menu_items', 'avia_append_search_nav', 10, 2 ); function avia_append_search_nav ( $items, $args ) { if(avia_get_option('header_searchicon','header_searchicon') != "header_searchicon") return $items; if ((is_object($args) && $args->theme_location == 'avia') || (is_string($args) && $args = "fallback_menu")) { global $avia_config; ob_start(); $getform = get_search_form(false); $items .= '<li id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown">'.$getform.'</li>'; } return $items; } add_filter('avf_title_args', 'fix_single_post_title', 10, 2); function fix_single_post_title($args,$id) { if ( $args['title'] == 'Blog - Latest News' ) { $args['title'] = get_the_title($id); $args['link'] = get_permalink($id); $args['heading'] = 'h1'; } return $args; } add_action('wp_head' , 'remove_post_list_title_links'); function remove_post_list_title_links() { ?> <script id="remove-links-in-title" type="text/javascript"> jQuery(document).ready(function($) { $('.entry-title').each(function() { var $title_link = $('a[rel="bookmark"]' , $(this)), $title_text = $title_link.text(); $title_link.remove(); $(this).prepend($title_text); }); }); </script> <?php } function bbp_enable_visual_editor( $args = array() ) { $args['tinymce'] = true; return $args; } add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' ); function bbp_tinymce_paste_plain_text( $plugins = array() ) { $plugins[] = 'paste'; return $plugins; } add_filter( 'bbp_get_tiny_mce_plugins', 'bbp_tinymce_paste_plain_text' ); add_action ('bbp_template_before_forums_index' , 'my_intro' ) ; Function my_intro () { Echo '<div class="entry-content">Welcome to the ACEDS Forum. Please take time to review our terms of use before posting on the forum. Thank you for helping make this community!</div>' ; }
Hi Andy,
Unfortunately I can’t provide login access to the admin panel of our site but I have listed the functions.php code that exists on the site today.
I could do a screenshare with you if you have some time available. I left my contact info in the pm section as well.
Thanks for your help.
Functions.php file
<?php // Opening PHP tag - nothing should be before this, not even whitespace // Custom Function to Include function favicon_link() { echo '<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />' . "\n"; } add_action( 'wp_head', 'favicon_link' ); add_filter('avf_which_archive_output','avf_change_which_archive', 10, 3); function avf_change_which_archive($output) { if(is_category()) { $output = __('','avia_framework').' '.single_cat_title('',false); } return $output; } add_filter( 'wp_nav_menu_items', 'avia_append_search_nav', 10, 2 ); function avia_append_search_nav ( $items, $args ) { if(avia_get_option('header_searchicon','header_searchicon') != "header_searchicon") return $items; if ((is_object($args) && $args->theme_location == 'avia') || (is_string($args) && $args = "fallback_menu")) { global $avia_config; ob_start(); $getform = get_search_form(false); $items .= '<li id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown">'.$getform.'</li>'; } return $items; } add_filter('avf_title_args', 'fix_single_post_title', 10, 2); function fix_single_post_title($args,$id) { if ( $args['title'] == 'Blog - Latest News' ) { $args['title'] = get_the_title($id); $args['link'] = get_permalink($id); $args['heading'] = 'h1'; } return $args; } add_action('wp_head' , 'remove_post_list_title_links'); function remove_post_list_title_links() { ?> <script id="remove-links-in-title" type="text/javascript"> jQuery(document).ready(function($) { $('.entry-title').each(function() { var $title_link = $('a[rel="bookmark"]' , $(this)), $title_text = $title_link.text(); $title_link.remove(); $(this).prepend($title_text); }); }); </script> <?php } function bbp_enable_visual_editor( $args = array() ) { $args['tinymce'] = true; return $args; } add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' ); function bbp_tinymce_paste_plain_text( $plugins = array() ) { $plugins[] = 'paste'; return $plugins; } add_filter( 'bbp_get_tiny_mce_plugins', 'bbp_tinymce_paste_plain_text' ); add_action ('bbp_template_before_forums_index' , 'my_intro' ) ; Function my_intro () { Echo '<div class="entry-content">Welcome to the ACEDS Forum. Please take time to review our terms of use before posting on the forum. Thank you for helping make this community!</div>' ; }
Unfortunately that didn’t work for me. I tried ‘courses’ and sfwd-courses but neither option changed the page title in the top bar.
After downloading 3.5.2 and uploading it manually onto my server I was able to fix the issue.
Thanks!
I am having the same problem with animations on my website. They were working fine before upgrading to WordPress 4.5. I am not using any caching plugins and have deleted cache, disabled other plugins and tried the suggestion mentioned here: https://kriesi.at/support/topic/pop-up-animation-not-loading/.
I know you guys are busy but I really appreciate your help.
Kind Regards.
Hi Yigit,
Thanks for your help. I have tried updating the functions.php file and replaced “sfwd-courses” with “courses”. I believe that is the custom post type for the “courses” feature but can’t be sure.In making those changes the title was not updated though.
Thanks
Please see the link to the page below. Since this is a course you won’t see content unless you are logged in. It still shows the same message though. Thanks for your help.
Good morning.
I was wondering if you could help me troubleshoot an issue I am seeing as it relates to the title of pages in our Learn Dash courses. I am using the functions.php file below but am seeing the title show “Últimas entradas” for course pages instead of the title of the page. This translates to latest entries.This code was added to my functions.php file to remove that from articles which worked great. That said, it is still present on course pages inside of our LMS.
add_filter('avf_title_args', 'fix_single_post_title', 10, 2); function fix_single_post_title($args,$id) { if ( $args['title'] == 'Últimas entradas' ) { $args['title'] = get_the_title($id); $args['link'] = get_permalink($id); $args['heading'] = 'h1'; } return $args; }
Thanks so much for your help.
I was able to resolve this issue with my host. Their response was below.
It does appear that there was a mod_security rule being triggered which may have prevented that plugin from working properly. We’ve whitelisted this rule now, could you please try again? If you continue to experience any issues with this could you please provide your IP address from this page so we can further investigate the logs: https://asmallorange.com/ip/
Thanks,
BradFebruary 16, 2016 at 3:34 pm in reply to: Create custom div id field for all AVIA layout builder elements #584231That works for the anchor links. is there any way to add a custom text field so that I can insert a custom div id to any avia element though?
Thanks for the quick reply.
Thank you so much. That worked perfectly.
-BradHi Ismael,
Thanks for the tip. I tried this and it didn’t correct the issue though. I have pasted my Functions.php code below. Thanks again for your help.
<?php // Opening PHP tag - nothing should be before this, not even whitespace // Custom Function to Include function favicon_link() { echo '<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />' . "\n"; } add_action( 'wp_head', 'favicon_link' ); add_filter('avf_which_archive_output','avf_change_which_archive', 10, 3); function avf_change_which_archive($output) { if(is_category()) { $output = __('','avia_framework').' '.single_cat_title('',false); } return $output; } add_filter( 'wp_nav_menu_items', 'avia_append_search_nav', 10, 2 ); function avia_append_search_nav ( $items, $args ) { if(avia_get_option('header_searchicon','header_searchicon') != "header_searchicon") return $items; if ((is_object($args) && $args->theme_location == 'avia') || (is_string($args) && $args = "fallback_menu")) { global $avia_config; ob_start(); $getform = get_search_form(false); $items .= '<li id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown">'.$getform.'</li>'; } return $items; } add_filter('avf_title_args', 'fix_single_post_title', 10, 2); function fix_single_post_title($args,$id) { if ( $args['title'] == 'Blog - Latest News' || args['title'] == 'Últimas entradas' ) { $args['title'] = get_the_title($id); $args['link'] = get_permalink($id); $args['heading'] = 'h1'; } return $args; } add_action('wp_head' , 'remove_post_list_title_links'); function remove_post_list_title_links() { ?> <script id="remove-links-in-title" type="text/javascript"> jQuery(document).ready(function($) { $('.entry-title').each(function() { var $title_link = $('a[rel="bookmark"]' , $(this)), $title_text = $title_link.text(); $title_link.remove(); $(this).prepend($title_text); }); }); </script> <?php } function bbp_enable_visual_editor( $args = array() ) { $args['tinymce'] = true; return $args; } add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' ); function bbp_tinymce_paste_plain_text( $plugins = array() ) { $plugins[] = 'paste'; return $plugins; } add_filter( 'bbp_get_tiny_mce_plugins', 'bbp_tinymce_paste_plain_text' ); add_action ('bbp_template_before_forums_index' , 'my_intro' ) ; Function my_intro () { Echo '<div class="entry-content">Welcome to the ACFCS Forum. Please take time to review our terms of use before posting on the forum. Thank you for helping make this community!</div>' ; }
Hi Elliott,
Thanks for the quick reply. I apologize for not having the link in the post. The page I am referencing can be found here: http://www.delitosfinancieros.org/noticias/. Any of the articles that are linked to from that page are not showing the post title (ex. http://www.delitosfinancieros.org/oficiales-de-cumplimiento-preocupados-por-sentencia-de-juez-que-los-hace-responsables-por-fallas-en-los-programas-ald/). Instead it simply says “Últimas entradas” which translates to “Latest Posts”.
On our other site this is working fine ex. http://acfcs.org/news/ any post linked to from this page has a title. For example, this page http://www.acfcs.org/judges-ruling-affirming-individual-penalties-allowed-in-aml-program-failures-sets-a-bad-precedent-says-compliance-officer/.
I found another post by someone else that solved what I am trying to do.
https://kriesi.at/support/topic/videobackground-on-layerslider/This reply has been marked as private.January 27, 2015 at 4:38 pm in reply to: Grid Rows don't listen to "Maximum Container width" #386347That worked well for part of what I am trying to do. Is it possible to
also add a field for background images on all Advanced Layout Builder features (like what I
added to the functions.php to enable the css area?). This way I don’t have to edit the CSS each time I want to add the background image, I can simply do this within the Advanced Layout Builder.January 27, 2015 at 2:27 pm in reply to: Grid Rows don't listen to "Maximum Container width" #386200Thanks for the quick reply. I am wondering how to make the grid row feature appear within the .container class. This would make it 1100px wide and not the 100% width that appears to be the only option.
January 27, 2015 at 1:26 pm in reply to: Grid Rows don't listen to "Maximum Container width" #386179I also would like to use the grid layout within a container. I can’t use the color section because each column needs its own background. The way that I have to do this today is by using the custom code feature which isn’t as easy to update for others. Do you have any ideas on how I would be able to accomplish this?
Thanks for your help.
October 22, 2014 at 6:03 am in reply to: Dummy data xml file not included in Enfold Theme package #339371I added the php error log file and got it to show the latest errors in wordpress using the “Error Log Monitor” plugin. Unfortunately I am not seeing any errors.
October 22, 2014 at 5:22 am in reply to: Dummy data xml file not included in Enfold Theme package #339366This reply has been marked as private. -
AuthorPosts