NoMad1337
Forum Replies Created
-
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Publicize BugThanks a lot!
I looked for a solution like this 3-4 Weeks ago, but didn’t find anything that would solve this. I even looked in the Plugin API reference to see if there is a hook to intercept. Still, I can’t find get_shortlink there…
The wp_get_shortlink wiki/codex page also has no information about this filter.But anyways, thanks for the code. I made a small plugin out of this. Not listed at ww.wp.xz.cn yet, but downloadable on my blog: http://www.tacticalcode.de/2013/04/jetpack-permalink-anstatt-shortlink-fur-publicize.html
(I heared there are some non-german-speaking people on the interwebs, so… Use google translate. Very very horrible translation, though: http://translate.google.com/translate?sl=de&tl=en&js=n&prev=_t&hl=de&ie=UTF-8&eotf=1&u=http%3A%2F%2Fwww.tacticalcode.de%2F2013%2F04%2Fjetpack-permalink-anstatt-shortlink-fur-publicize.html&act=url )Forum: Plugins
In reply to: [nrelate Related Content] Invalid HTML (CDATA Tags)OK, shorthand: My Theme uses get_the_content and then escapes ]]>, I disabled the escaping. But pretty much every WP Blog does filter it, so please consider fixing that.
Also: Style-Tags are used in the body… not valid for XHTML 1.0 Transitional:This could mean that you have incorrectly nested elements — such as a “style” element in the “body” section instead of inside “head”
+1 for this feature
+1 for this feature: Set featured image.It isn’t working either, I can just chose between Upload files and Media library: See this image
I’d be really happy if there two things worked correctly, because it’s really handy to have a shared media library for multi-language sites. Currently, I can’t set featured images for posts with pictures from other blogs on my network…
Forum: Plugins
In reply to: [2 Click Social Media Buttons] CDATA closing tag is escaped to ]]& gt;OK, after trying several approaches, I’m going to modify the plugin.
In /libs/class-twoclick-frontend.php, the jQuery code is generated for each individual entry. I know the entries need different IDs to work independent, but why always output the same jQuery function for each of these entries? The ID is the only variable (plus excerpt and URL, which both can be retrieved from DB when the ID is known), so why don’t we make it a variable?
The Description/Info text is globally set, this needs to be written once. Post-ID, URL, Excerpt (etc) can be used as a parameter in a function to relace all individual functions.
This wouldn’t only result in valid HTML, but it could also result in better performance.
I’m not familiar with jQuery, so if anybody would like to help me out, please contact me.
Thanks,
NoMad