Forum Replies Created
-
AuthorPosts
-
Ok. Now I found out MY mistake. There was a old code in the htaccess file, which kept the php version on 5.2. even when I changed it in the backend of my hoster. Ahhhh, so stupid!!!!
I changed this, and now update 4.2.1 works fine!
To everybody. Check the php version carefully!
René the blockhead :(Went back to 4.2, and this works. Tried again with 4.2.1 – Fatal Error like before. Seems, I need to wait to the next version. Will try the same game with another website.
Hi
Also problem with update. Update from 4.2 to 4.2.1, Fatal Error:
…./wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-parser.class.php on line 2556
PHP 5.6
René
November 20, 2017 at 11:38 am in reply to: Page specific menu items and the search results page #879056Hi
You can close this topic.Best regards,
RenéNovember 18, 2017 at 1:36 pm in reply to: Page specific menu items and the search results page #878554Hi Rikard
Thank you very much for trying to help me, but we found out that this plugin is not compatible with the mobile menu of enfold. So, anyway, I need a completely different solution.
By the way for all of you which wants to use this plugin: it seems that it is no longer supported!
René
- This reply was modified 7 years, 1 month ago by baiker.
November 17, 2017 at 10:50 am in reply to: Page specific menu items and the search results page #878008Hi,
I need to hide the menu items which are checked by the plugin. In the backend, there is the possibility to check the menu items for each page, post etc which should be shown or hide in the frontend.Best regards,
RenéHi,
I need to hide the menu items which are checked by the plugin. In the backend, there is the possibility to check the menu items for each page, post etc which should be shown or hide in the frontend.Best regards,
RenéHi Ismael
Tought, that could work, but this functions are comin’ from the plugin to add the hide_this_item class:
/** * adds styles to the head of the page in frontend **/ function psmi_hide_menuitems(){ echo '<style type="text/css" media="screen">'; echo '.menu-item.hide_this_item { display: none !important; }'; echo '</style>'; } /** * adds 'hide_this_item' class to each checked menu item **/ function psmi_add_menu_class( $items , $args) { $currentpage_items = get_post_meta(get_queried_object_id(), PSMI_TEXTDOMAIN.'_currentpage_items', true); if (!empty($currentpage_items) && $currentpage_items[0] !=''){ $psmi = Page_Specific_Menu_Items::get_psmi_defaults(); foreach ( $items as $item ) { if ('show'== $psmi['items_defaultview'] && in_array( $item->ID, $currentpage_items ) ) { $item->classes[] = 'hide_this_item '; } if ('hide'== $psmi['items_defaultview'] && !in_array( $item->ID, $currentpage_items ) ) { $item->classes[] = 'hide_this_item '; } } } return $items; }
Tried to replace by the nth child selector, but didn’t work unfortunately.
RenéDear Basilis
Thank you for the quick response.
Could you tell me, if the theme has some javascript which remove „hide_this_item“?
Just to be able to tell the plugin developer that this is not the case.And I think, when he mentioned to add !important at the end of css declaration, he’s talking to css of the plugin, right?
Thank you
RenéNovember 13, 2017 at 12:07 pm in reply to: Page specific menu items and the search results page #876058Hi Rikard
Thank you very much for the quick reply!
The plugin works like this:
In every page in the admin section, I can check a checkbox to decide, which menu item on the frontpage should be hided.
See example http://halden.dieklangfabrik.ch/betagtenheim There, you see only 6 of 13. This to „simulate“ a multipage without being one.
When you browse to http://halden.dieklangfabrik.ch/?s= you see all the menu items.
Let’s say the first line till „Kontakt“ is Tree 1 and the second Tree 2, with some pages with the same name.Because the search page is generated by the theme, I don’t have the possibility to check the checkboxes in the backend. And I’d like to stay in the „simulated tree“. Is there a way to say by css, which item should be shown and which not? Sorry, I checked the code and didn’t find a way for this by myself, shame on me…
Thanks for help.
René- This reply was modified 7 years, 1 month ago by baiker.
Hi
I installed the above mentioned plugin “page-specific-menu-items” with wordpress 4.8.3, enfold 4.2. Works fine on desktop version, but not with the mobile Burger menu. There, every menu item is visible. The plugin works with “hide-this-item”. Could it be, that the plugin is not compatible with enfold??Here is the answer of the developper to some other user with the same problem:
“The easy solution would be to add !important at the end of the css declaration. But then it might not work if hide_this_item class is removed by some javascript (that is the major problem with many javascript responsive menu plugins).”
Don’t know, if that helps.
Or any idea? Would appreciate to get a hint for a solution.
Thanks
RenéYou’re the man, Ismael! Works. Perfect. Thank you very much for your help!
RenéHi Ismael
thanks for the code. I can now put in the Title I want and the text is visible. Unfortunately, the logo is now not visible anymore (img src is missing). Small mistake in the code, I don’t see?
Thank you for help
René- This reply was modified 7 years, 1 month ago by baiker.
Don’t know if this is the right place to jump into the discussions. On my page, the alt tag for the logo is not showing, only the “finger” to mark this is a link. My customer want to have a specific text, which is always showing. So I used the solution code:
add_filter('avf_logo_alt', 'avf_change_logo_alt'); function avf_change_logo_alt($alt) { $alt = "New Alternate Text Here"; return $alt; }
It works, because I see on Page Resource, the alt tag is changed, but still not showing on scrolling over the logo. Could you help me?
Thanks for help, didn’t find a solution by searching
RenéWorked, thanks for the solution. Even there’s a semikolon missing after center!
Hi Victoria. Glad to here that and can’t wait. Lot’s of customer websites got problems.
René
Thanks for this very helpful support, perfekt description! You’re the best :)
Hi Ismael
Meanwhile, my solution was like that:
1. Use the language plugin “loco translate”
2. changed translation in german in my own words (because the site is only in german)So for me, the problem is solved on the startpage of https://www.dreamwhisperer.ch. (if you scroll down, you’ll see it)
Thanks anyway for your help. I’m still a fan of Enfold!
René
Hi
In every thread I only found the solution to change text on password protected pages. But how can I change the text on the Blog Mainpage? I used for the blog homepage avia layout architekt and use the content element “Blog Beiträge” with an excerpt. On the Main Page there’s this text for protected content (german sorry):
“Es gibt keine Kurzfassung, da diese ein geschützter Beitrag ist.” (see Page)
I want to add something like “Please write me to send you a password” already here, and not only on the blog page itself.Thanks to give me advice where to change.
RenéGreat!! Thank you very much for giving me that solution!
A happy René :)Hi Rikard
Hier is a example.
– Page with color section with background picture
– 2 layout elements
– Content tabelhttp://www.dreamwhisperer.ch/test/
My wish is, that only the text of the table is visible. Maybe I’m a css beginner, but I didn’t found a way to change this.
And a second question, which you may simply answer:
I want the text of the fist column right-aligned, and the second column left-aligned.Thank you very much for your help.
- This reply was modified 8 years ago by baiker.
Hi Rikard,
I resolved the problem by changing the css code. I’m using now following code for showing mobile menu smaller than 100% on desktop mode:
ul#mobile-advanced {
width: 100%;
}@media only screen
and (min-width: 768px) {
ul#mobile-advanced {
width: 35%;
right: -40%;
}}Thanks for your help!
René- This reply was modified 8 years, 3 months ago by baiker.
Hi,
it’s on every device: ipad, MacBookAir El Capitan, iphone5 (ok, this is old, but anyway), imac osx Yosemite. On all devices with latest safari version.
Try this:
1. go to http://www.spiraag.ch
2. on desktop: shrink the browser, until menue change to mobile menu
3. swipe left want to show next page, and you’ll see the mobile menu in top right corner
a) sometimes I need first to open/close the mobile menu before that happens.Hope, you’ll see it. This happens not only on my devices, I checked this.
Thanks, René
Hi Rikard
Here’s the login.
Thank you for the fast reply. It seems, that the plugin causes problems within my local installation. Works fine with my online Hoster, so… sorry.
Solved.
Big Thanks
Hy Yigit
Yes, you named it! Was a late lecacy of an old plugin (Media File Manager Advanced) I used and deactivated a long time ago. Good Job, tank you very much!! You can close the thread.
René
Ok. I did the refreshing, but no change. Here the login. Thanks having a look. René
January 31, 2016 at 2:47 pm in reply to: Changing number of portfolio entrys after tag search #575302Thanks, Josue, great, works fine!
January 30, 2016 at 12:12 pm in reply to: Changing number of portfolio entrys after tag search #574975Hi Josue
Yes, because I found out that this is set in the file “tag.php”. So I copied that file in my child theme and changed the columns to 5, and changed also the title there. Is this a good way, or is there an easier, better way? I mentioned this in my topic form January 29.
And do you have a tipp for my next question:
How could I prevent, that the portfolio items on the page “tag.php” will be clickable?
Thanks for help, I’m just learning php, sorry.
January 29, 2016 at 3:58 pm in reply to: Changing number of portfolio entrys after tag search #574612Hi Josue
Thanks. But I was not clear enough in describing my problem, although your answer is a good information too!
I want to have not only 3 portfolio entries in a line, but for example 5 or 6.
I found out that this is set in the file “tag.php”. So I copied that file in my child theme and changed the columns to 5, and changed also the title there. Is this a good way, or is there an easier, better way?And another question: How could I prevent, that the portfolio items on the page “tag.php” will be clickable?
Thanks for help, I’m just learning php, sorry.
-
AuthorPosts