Forum Replies Created
-
AuthorPosts
-
Hey Ismael,
I’ve renamed both files to “xtemplate-builder.php and xhelper-main-menu.php” and it made no difference (even after cache emptied). The UberMenu is of course messed up with those changes, but the ColorSection page as you can see STILL places the sidebar at the bottom.
Test pages still exist as specified above.Ismael – Thanks for your patience and willingness to work this out with me.
Activated. The shortcode you supplied works (see Test page, post and advanced builder examples below ) but – the page with the color section page (see below) still pushes the sidebar content to the bottom . They don’t have a setting for NONE (see config image below)- the radio buttons cause it to default to the template setting. (See settings below.)
Hey!
I did ask the plugin author. And since the issue appears only on color section pages, they pointed me to the theme author. How might we resolve the color section issue for this plugin?
Support needed for my 8 Enfold sites please.
Thanks!
j- This reply was modified 8 years, 9 months ago by welswebmaster. Reason: typo
Hi Ismael,
That did not work for me. To my child theme’s function.php i added the code you gave me (see below). I get blank output (not even the exposed shortcode). I entered [pf_button] in a text tab of the wysiwyg (link below). The plugin is deactivated. The settings are still set to “add code to the template” prior to deactivation. What am I misssing?Thanks for your response.
j
functions.php CODE – Lines 2-10 are those that apply.<?php /** * Shortcode for printfriendly buttons */ add_shortcode('pf_button', 'get_printfriendly_button'); function get_printfriendly_button() { if( function_exists('pf_show_link') ){ return pf_show_link(); } } /** * Declare custom post types so that the advanced builder recognizes them. */ add_filter('avf_title_args', 'fix_single_post_title', 10, 2); function fix_single_post_title($args,$id) { if ( is_singular(array('post', 'dev-daily', 'dev-military', 'dev-women', 'fic', 'ece-dev', 'worship-help', 'bible3'))) { $args['title'] = get_the_title($id); $args['link'] = get_permalink($id); $args['heading'] = 'h1'; } if( is_singular('faq') ){ $args['title'] = "Topical Q&A"; } return $args; } /** * Declare custom post types so that the advanced builder recognizes them. */ add_filter('avf_builder_boxes', 'add_builder_to_posttype'); //allows cpt dev-daily to use builder function add_builder_to_posttype($metabox) { foreach($metabox as &$meta) { if($meta['id'] == 'avia_builder' || $meta['id'] == 'layout') { $meta['page'][] = 'dev-daily'; /*your custom post type name here*/ $meta['page'][] = 'dev-military'; /*your custom post type name here*/ $meta['page'][] = 'dev-women'; /*your custom post type name here*/ $meta['page'][] = 'fic'; /*your custom post type name here*/ $meta['page'][] = 'bible3'; /*your custom post type name here*/ $meta['page'][] = 'ece-dev'; /*your custom post type name here*/ $meta['page'][] = 'worship-help'; /*your custom post type name here*/ } } return $metabox; } /** * Declare custom post types so that widgets recognizes the view. */ add_action('after_setup_theme','avia_load_additional_widget'); //adds latest news widget for cpt function avia_load_additional_widget() { if (!class_exists('avia_customcptbox')) { class avia_customcptbox extends avia_newsbox { function avia_customcptbox() { $this->avia_term = 'dev-term'; $this->avia_post_type = 'dev-daily'; $this->avia_new_query = ''; //set a custom query here $widget_ops = array('classname' => 'newsbox', 'description' => 'A Sidebar widget to display latest cpt entries in your sidebar' ); $this->WP_Widget( 'customcptbox', THEMENAME.' Latest Devotion', $widget_ops ); } } register_widget( 'avia_customcptbox' ); } } /** * function to return an undo unsbscribe string for MailPoet newsletters * you could place it in the functions.php of your theme * @return string */ function mpoet_get_undo_unsubscribe(){ if(class_exists('WYSIJA') && !empty($_REQUEST['wysija-key'])){ $undo_paramsurl = array( 'wysija-page'=>1, 'controller'=>'confirm', 'action'=>'undounsubscribe', 'wysija-key'=>$_REQUEST['wysija-key'] ); $model_config = WYSIJA::get('config','model'); $link_undo_unsubscribe = WYSIJA::get_permalink($model_config->getValue('confirmation_page'),$undo_paramsurl); $undo_unsubscribe = str_replace( array('[link]','[/link]'), array('<a href="'.$link_undo_unsubscribe.'">','</a>'), '<p><b>'.__('You made a mistake? [link]Undo unsubscribe[/link].',WYSIJA)).'</b><p>'; return $undo_unsubscribe; } return ''; } add_shortcode('mailpoet_undo_unsubscribe', 'mpoet_get_undo_unsubscribe'); ?>
Kriesi,
I have 5 Enfold themes installed all on WP Engine. As of 2 days ago – I started hitting a ton of 502 errors. We are planned to go live with our 2 sites and 24 sub sites this Friday. These errors are in the way to over a year’s worth of work. Please work directly with WP ENGINE to resolve this issue – or provide a workaround. I’m attaching my ticket (Private) below. High Priority please!- This reply was modified 8 years, 11 months ago by welswebmaster.
April 29, 2015 at 2:01 pm in reply to: Enfold: Missing Featured Image display for CPT when using Avia Builder #436654Hey back.
Thanks for the info, Andy. I’ll follow up with WP-Types. You may close this ticket.April 27, 2015 at 7:42 pm in reply to: Enfold: Missing Featured Image display for CPT when using Avia Builder #435542This reply has been marked as private.April 27, 2015 at 6:13 pm in reply to: Enfold: Using CPT wanting to show related (tag) content #435480Close ticket.
April 27, 2015 at 4:55 pm in reply to: Enfold: Missing Featured Image display for CPT when using Avia Builder #435414Andy, that’s why I refered to the gist provided by Josue. Yes, the featured image works in other themes for my CPT. I think its because we are using the ALB with a CPT. Would you agree?
Ref: https://kriesi.at/support/topic/enfold-using-cpt-wanting-to-show-related-tag-content/#post-434960- This reply was modified 9 years, 1 month ago by welswebmaster.
April 27, 2015 at 12:58 am in reply to: Enfold: Using CPT wanting to show related (tag) content #434942This reply has been marked as private.April 25, 2015 at 3:19 pm in reply to: Enfold: Missing Featured Image display for CPT when using Avia Builder #434706This reply has been marked as private.April 22, 2015 at 1:25 am in reply to: Can't edit pages in Enfold 3.1.3 – possible plugin conflict? #432479Here’s a hunch… I’ve found the latest update for Google Analytics by Yoast (5.4.1) to cause 2 of my 7 Enfold sites to render strangely. Once I disable GA (as you claimed with ACF) – the issue goes away. Try deactivating that plugin. At first, I thought it was WP-Retina and Yoast SEO combo. But the issue appeared again. I’m hoping that disabling GA is the one. I found another person with this same issue too here: https://yoast.com/google-analytics-5-4-notes/
Make sure you clear server cache and logout to view the site.
Now pile the WP 4.1.2 upgrade on this… grrrr. Hope the info helps others.- This reply was modified 9 years, 1 month ago by welswebmaster.
April 22, 2015 at 1:17 am in reply to: Enfold: Using CPT wanting to show related (tag) content #432477This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.April 10, 2015 at 4:35 pm in reply to: Enfold: Multisite – setting subsite LOGO link to a different url #426640This reply has been marked as private.April 8, 2015 at 4:32 pm in reply to: Enfold: Multisite – setting subsite LOGO link to a different url #425412This reply has been marked as private.April 7, 2015 at 8:58 pm in reply to: Enfold: Multisite – setting subsite LOGO link to a different url #424941This reply has been marked as private.April 7, 2015 at 2:15 pm in reply to: Enfold: Multisite – setting subsite LOGO link to a different url #424690This reply has been marked as private.April 6, 2015 at 5:21 pm in reply to: Enfold: Multisite – setting subsite LOGO link to a different url #424029This reply has been marked as private.April 4, 2015 at 3:10 pm in reply to: Enfold: Multisite – setting subsite LOGO link to a different url #423452This reply has been marked as private.Perfect, Andy! Please close out ticket.
Please close this task.
This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.Yes, this worked well for me too!
FYI – it may be important to mention we are using the Enfold Ajax preview search as a menu item with an input box to see a quick preview of search results.
This reply has been marked as private. -
AuthorPosts