JohnnyPea
Forum Replies Created
-
What do you mean by “parent menu”?
This should be fixed now… https://core.trac.www.ads-software.com/ticket/13976
Forum: Plugins
In reply to: [Advanced Menu Widget] [Plugin: Advanced Menu Widget] Highlighted Selection?Currently selected menu item item has class
current-menu-item
orcurrent-item-parent
.Put this in your style.css…
.widget_advanced_menu .current-menu-item { color: red; }
Forum: Plugins
In reply to: [Advanced Menu Widget] [Plugin: Advanced Menu Widget] PHP MenuNot directly but you can use
wp_nav_menu_items
filter to do that https://bigwilliam.com/how-to-add-custom-loginout-links-to-wordpress-menus/ or https://www.johnmorrisonline.com/how-to-add-a-loginlogout-link-to-wordpress-menus/You can’t set the “Filter selection from” filter.
I’m glad yo hear that. If you’re still happy with my plugin you can use send me the money to:
jan.bocinec @ webikon.sk
Do you still have this issue?
Descriptions added to v0.3 ;).
Forum: Plugins
In reply to: [Advanced Menu Widget] typeface to match theme and indent childrenThis is CSS stuff. You can customize this trough the style.css in your theme.
You can use one of these plugins to conditional display widgets:
https://www.ads-software.com/extend/plugins/widget-logic/
https://www.ads-software.com/extend/plugins/dynamic-widgets/
Forum: Plugins
In reply to: [Advanced Menu Widget] [Plugin: Advanced Menu Widget] make title a linkIf there will be more requests for this feature I can add it. I don’t want the plugin become bloated with unnecessary features.
There is “widget_title” filter available so you can use it for this purpose…
function my_linked_widget($title, $instance, $widget_id) { if ( $widget_id == 'advanced_menu' ) return '<a href="#">'.$title.'</a>'; return $title; } add_filter('widget_title', 'my_linked_widget', 10, 3);
Forum: Plugins
In reply to: [Random Post Thumbnail] Random Post Thumbnail can't be deleted/undoneI am glad it finally worked. Please could you set this topic as “resolved” (right sidebar), thanks.
Forum: Plugins
In reply to: [Random Post Thumbnail] Random Post Thumbnail can't be deleted/undoneHave you copied it exactly at it is here?
Pastie: https://pastie.org/3753246
Raw: https://pastie.org/pastes/3753246/textWhat is your version of MySQL?
Forum: Plugins
In reply to: [Random Post Thumbnail] Random Post Thumbnail can't be deleted/undoneUnfortunately thumbnails added through my plugin cannot be easily “deleted/undone” through the plugin interface or by deactivating it. It already assigned the image IDs as posts featured images so we have to delete this relations in database. You can use this SQL query to deassign ALL the featured images from your PAGES (it will NOT delete the images itself!):
DELETE a FROM wp_postmeta a INNER JOIN wp_posts b on a.post_id = b.ID WHERE a.meta_key = '_thumbnail_id' AND b.post_type = 'page'
(You can run this SQL query from your phpMyAdmin.)
I have to second this.
It looks like it doesn’t recognize capital and small letters either.