BramNL
Forum Replies Created
-
Forum: Plugins
In reply to: [Social Sharing Toolkit] "/> characters showing on blog pagesI think you found this bug I just reported: ww.wp.xz.cn/support/topic/bugfix-ogdescription-needs-escaping (still being reviewed atm.
To fix this, edit social_sharing_toolkit.php and replace line 569:
<meta property=”og:description” content=”‘ . $excerpt . ‘”/>’;with:
<meta property=”og:description” content=”‘ . htmlspecialchars($excerpt) . ‘”/>’;(so you add the htmlspecialchars() around $excerpt).
Please let me know if this fixed it.
Forum: Reviews
In reply to: [HTML Editor Syntax Highlighter] Great, but needs some optionsIt is. Thanks, Petr!
Forum: Reviews
In reply to: [HTML Editor Syntax Highlighter] Great, but needs some optionsThat’s great. Thanks.
Forum: Plugins
In reply to: [WP-Syntax] Cache support for massive speed boost via this patchI never thanked you.
Thank you πForum: Fixing WordPress
In reply to: Fatal error with WP Native Dashboard Plugin 3.6 upgradeCan you post the solution? You’re not the only one reading here π
Forum: Plugins
In reply to: [WP-Syntax] Cache support for massive speed boost via this patchIs the patch gone?
Forum: Plugins
In reply to: [If Menu - Visibility control for Menus] plugin custom logicThe key is that you guys missed the return $conditions;. This is a flaw in the FAQ.
Forum: Plugins
In reply to: [If Menu - Visibility control for Menus] Customized rolesThe example in the FAQ is fairly incomplete.
You could add the following to the functions.php of your (child) theme:
add_filter( 'if_menu_conditions', 'my_new_menu_conditions' ); function my_new_menu_conditions( $conditions ) { $conditions[] = array( 'name' => 'If single custom-post-type', // name of the condition 'condition' => function() { // callback - must return TRUE or FALSE return is_singular( 'my-custom-post-type' ); } ); return $conditions; }Note about the “return $conditions;”. That one is missing in the example but is very important!
Your question is far from clear about what you’re exactly looking for. That might be the reason why everybody ignored you.
Can you explain what you wanted? Please use full sentences.
Forum: Requests and Feedback
In reply to: Menu shouldn't show draft pagesI think what he asks is that if a menu item links to a page that has the status ‘draft’, the menu item itself should be hidden for the public also.
Is that possible?
[edit]
Also, that checkbox you mention, works only for top-level menu items. It is actually a kinda dangerous checkbox if you tend to forget to set the parent page for a new page. Especially because it doesn’t remove the menu item after you have “fixed” the forgotten parent page setting.Forum: Plugins
In reply to: [HTML Editor Syntax Highlighter] is stays above the text editedWhat do you mean “Above the text” ?
I understand what you are saying and I normally don’t mind sending statistics, but with this site I can’t.
So enabling the option you mentioned is no solution for me.
Forum: Plugins
In reply to: [Blog Copier] Sub site URL path "/" missing after 3.5.1 updateI can confirm this issue exists. In the database the blog path is missing the leading slash.