Tagged: customize, portfolio categories
-
AuthorPosts
-
March 10, 2015 at 10:19 am #408701
Hello,
I wanted to know how can I personalise the sidebar menu of this page: http://www.stepconsulting.eu/en/portfolio_categories/data-acquisition-en/. It is a part of Portfolio Categories and I can’t find the way to choose what to display on the sidebar menu.Thanks,
AnitaMarch 10, 2015 at 10:25 am #408704Cool, I would like to know this too. Let me know !
March 10, 2015 at 10:02 pm #409575Hey!
Navigate to Dashboard > Appearance > Widgets and in sidebar area find the one called “Sidebar Pages”. This is the default sidebar that gets displayed for your pages. You can edit the widgets there.
There may also be a menu added to your page sidebar which you can turn off in Dashboard > Enfold > Sidebar Settings > Page Sidebar Navigation.
Cheers!
ElliottMarch 12, 2015 at 10:34 am #410372Dear Elliott,
I’ve tried all the above mentioned things but nothing works. I can still see that menu on the sidebar and I can’t personalize it…Anita
- This reply was modified 9 years, 9 months ago by Stepconsulting.
March 12, 2015 at 1:43 pm #410432Hey!
Would you mind creating a temporary admin login so that we can take a closer look? You can post the details here as a private reply.
Best regards,
RikardMarch 12, 2015 at 2:43 pm #410471This reply has been marked as private.March 13, 2015 at 5:48 pm #411168Hey!
Sorry, that’s a portfolio category archives. If you want to set a custom sidebar for that then open up /enfold/sidebar.php and find line 44.
$custom_sidebar = apply_filters('avf_custom_sidebar', $custom_sidebar);
And add this beneath it.
if ( is_taxonomy('portfolio_entries') ) { $custom_sidebar = "test"; }
And then create a new widget area called “test” in Dashboard > Appearance > Widgets.
Cheers!
ElliottMarch 16, 2015 at 10:10 am #411985This is my code:
$the_id = @get_the_ID();
$custom_sidebar = “”;
if(!empty($the_id) && is_singular())
{
$custom_sidebar = get_post_meta($the_id, ‘sidebar’, true);
}if($custom_sidebar)
{
dynamic_sidebar($custom_sidebar);
$default_sidebar = false;
}
else
{I’ve tried to insert the line beneath line 44 but when I do that the whole “Case Study” page disappears.
March 16, 2015 at 8:21 pm #412531Hi!
I edited it for you. Should be working now.
Cheers!
ElliottMarch 17, 2015 at 11:24 am #412853Yes! Thank you very much Elliott.
Have a nice day!
Anita- This reply was modified 9 years, 9 months ago by Stepconsulting.
March 17, 2015 at 5:04 pm #413107March 20, 2015 at 9:33 am #415143Hello,
I’ve looked at the whole site and now there is only the “test” menu visible on all layouts that have sidebar active. I’ve wanted that “test” menu is applied only on the Case Study Detail layout.
Waiting for your kind reply.
AnitaMarch 22, 2015 at 4:31 pm #415984Hi!
Not sure why that is happening. Go ahead and update WordPress and then completely delete Enfold from your WordPress theme directory before downloading + uploading a fresh copy of Enfold from themeforest. After doing this you should be using Enfold 3.1.1 instead of 2.7.1.
Regards,
ElliottNovember 2, 2015 at 7:22 am #528255Gday Enfold support
Can this sidebar effect be achieved as a function in a child theme? If so, can somebody create a sample of the code?
cheers
Darryl
November 2, 2015 at 9:32 pm #528815Hey!
You can copy the sidebar.php template to your child theme and it will be used instead.
Cheers!
ElliottFebruary 27, 2016 at 2:59 pm #590244Hi,
I wanted to know how I can resolve these two problems:
1.) My h3 titels are like this: http://www.stepconsulting.eu/en/activities-services/structural-fem-analysis/2.) I’m havong trouble with this menu even after the theme update: http://www.stepconsulting.eu/en/portfolio_categories/data-acquisition-en/
I wan’t hath only the “Case Study” menu remain and not “Pages”, Categories” and “Archive”. How can I do that?Thanks/ Regards,
AnitaMarch 1, 2016 at 5:07 am #591327Hi Anita,
The login details you posted previously are not working anymore. Could you post new ones please?
Best regards,
RikardJune 10, 2016 at 1:40 pm #646189Hi Rikard I have similar problem, probably easy to fix.
I customized sidebar menu for a single portfolio item when displayed. (Film directing, Graphic design,etc…- If I choose a portfolio item which has a sidebar menu of course)
The problem comes when I choose the sidebar item in portfolio view – for example Graphic design.
Then sidebar changes from customized (Film directing, Graphic design,etc..) to: (Pages Categories Archive) and I don’t want that. I want to see the same customized sidebar also in Archive for: category in Portfolio items.I managed to do that in my blog posts, where I had the same problem. Unfortunately I forgot what I actually did.
Thank in advance for your kind answer
June 15, 2016 at 3:44 am #648336Hi,
@igormatijevic: Edit the portfolio item, choose the widget area in the Layout > Sidebar Settings. If you have more questions regarding this issue, please create a new thread. Thank you.Best regards,
Ismael -
AuthorPosts
- The topic ‘Enfold Portfolio Categories SideBar Menu’ is closed to new replies.