Forum Replies Created
-
AuthorPosts
-
This 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.
This reply has been marked as private.Dear 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, 8 months ago by Stepconsulting.
Dear Peter,
I have one more question: how can I personalize this page: http://www.stepconsulting.eu/portfolio_voci/analisi-processo/. It seems it is automatically generated as “portfolio_articles”. I want to personalize the side bar menu, because now it is set in the widgets as “displayed everywhere” so this menu can be seen on every page with sidebar menu. I want it to be visible only on the portfolio articles (Archive pages).Many thanks,
Anita- This reply was modified 10 years, 3 months ago by Stepconsulting.
This reply has been marked as private.Thanks Peter!
I have three more issues:
1.) Articles: ok for the text content that I’ve translated but I can’t upload the images. In italian version they are visualised but in english they are not. NEWS section of the site http://www.step-lab.com/en/news/. Same thing goes for Portfolio Elements: I do not have the main picture, I can’t reload it and in the gallery it says “this element no longer exists”.2.) Translation of pages & portfolio elements: When I change something in the original language (italian) and I update the page (I first choose the option: “minor modification – do not update the translation” above the “Update” button) the english version gets updated but with italian language! I’ve tried everything to stop this but it goes on!
3.) Language Permalinks: this is italian language: http://www.step-lab.com/portfolio-articoli/macchina-elettromeccanica-per-test-di-fatica/
and thi is english: http://www.step-lab.com/en/portfolio-articoli/electromechanical-fatigue-test-machine/.
I want to change the sentence “portfolio-articoli” in english. I have WP installed in italian. How can I do that?Thanks in advance,
Anita- This reply was modified 10 years, 3 months ago by Stepconsulting.
-
AuthorPosts