Forum Replies Created
-
AuthorPosts
-
No, no. Maybe the terminology is confusing the issue.
When adding a new post, there is a ‘Layout’ section on the right. The one with the subsections ‘Layout’, ‘Sidebar Setting’, ‘Title Bar Settings’, etc.
The Sidebar Settings option selects from the custom widgets I’ve set up.
I want ‘Post Sidebar’ selected by default or set as such. I don’t want to change the actual theme ‘sidebar’ settings, it’s just called Post Sidebar.
IE9 also.
Wasn’t related to the version. For whatever reason, the avia.js script was getting queued up twice and the responsive nav UL was getting duplicated on the page, apparently confusing the JS about what to expand.
Ok… … Not sure what a version update has to do with that particular issue, but went ahead and updated (And still have the exact same issue.)
Deadlines are becoming an issue. Can I please get some relevant feedback?
- This reply was modified 10 years, 3 months ago by travtex.
I’m referring to this particular function in register_admin_options.php:
$avia_elements[] = array( "type" => "group", "id" => "social_icons", "slug" => "header", "linktext" => __("Add another social icon", 'avia_framework'), "deletetext" => "Remove icon", "blank" => true, "nodescription" => true, "std" => array( array('social_icon'=>'twitter', 'social_icon_link'=>'http://twitter.com/kriesi'), array('social_icon'=>'dribbble', 'social_icon_link'=>'http://dribbble.com/kriesi'), ), 'subelements' => array( array( "name" => __("Social Icon", 'avia_framework'), "desc" => "", "id" => "social_icon", "type" => "select", "slug" => "sidebar", "class" => "av_2columns av_col_1", "subtype" => apply_filters('avf_social_icons_options', array( '500px' => 'five_100_px', 'Behance' => 'behance', 'Dribbble' => 'dribbble', 'Facebook' => 'facebook', 'Flickr' => 'flickr', 'Google Plus' => 'gplus', 'Instagram' => 'instagram', 'LinkedIn' => 'linkedin', 'Pinterest' => 'pinterest', 'Reddit' => 'reddit', 'Skype' => 'skype', 'Soundcloud'=> 'soundcloud', 'SalesForce1' => 'salesforce1', 'Tumblr' => 'tumblr', 'Twitter' => 'twitter', 'Vimeo' => 'vimeo', 'Vk' => 'vk', 'Xing' => 'xing', 'Youtube' => 'youtube', __('Special: RSS (add RSS URL, leave blank if you want to use default WordPress RSS feed)', 'avia_framework') => 'rss', __('Special: Email Icon (add your own URL to link to a contact form)', 'avia_framework') => 'mail', ))), array( "name" => __("Social Icon URL:", 'avia_framework'), "desc" => "", "id" => "social_icon_link", "type" => "text", "slug" => "sidebar", "class" => "av_2columns av_col_2"), ) );
The one that says ‘Salesforce1’ is the custom one that I want available as an option in the #meta_header section, as modified in header settings in the theme appearance section. The above code works, but I want to get that Salesforce1 OUT of enfold and into the child theme. Suggestions thus far haven’t gotten it and I’m not quite sure why not.
Hi Josue,
Two issues — For one, if it had worked, it’s only addressing half the issue. The icons are set in the function referenced in functions.php, and then made available for the admin dropdown in register-admin-options.php. The post linked only references functions.php.
For two — It also doesn’t work. ;) I tried adding a filter to the child theme’s functions.php and commenting out the entry in enfold’s parent functions.php and it disabled the icon completely.
(Related to Root Relative URL plugin — Disregard otherwise, thanks.)
Yes, I’ve seen where it would work renaming labels (Though not completely sure how to enable that in a child theme off the top of my head).
Secondary issue we discovered was the inability to use portfolio category slugs. There’s the ‘products’ page with a grid pulling from portfolio items with the ‘product’ category and likewise for ‘procedures’.
Ideally, the urls would be /products/product and /procedures/procedure
Otherwise, it’s looking like the whole thing will have to be done in a custom wp loop drawing from custom content types (Which I think loses a ton of friendly back-end functionality for the client.)
Haha. Exact post I was just in the process of finding, thanks.
For quick clarification, with that array push in my functions.php, I do NOT need to include the template folders/config/meta.php stuff in my child theme, correct?
-
AuthorPosts