Mor
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Make featured images "attach" to the postCould this maybe be moved to the “advanced” forum?
Forum: Fixing WordPress
In reply to: Make featured images "attach" to the postTo put things more succinctly: I want to make images become attached to a post when I select them as “featured picture” in said post.
(I also want a function that goes through all my already posted posts and performs said action)
Forum: Plugins
In reply to: [Simple Lightbox] Add link to image captionThank you for the response! It’s however rather cumbersome to add the license information by hand for each image rather than adding it in php. Is there any other way to make it display html in the lightbox?
Forum: Fixing WordPress
In reply to: Shorter shortcode?2 months later and I found out how to do it, in the codex, of all places.
http://codex.ww.wp.xz.cn/Shortcode_API
“Other features in brief
…
For backwards compatibility with older ad-hoc shortcodes, attribute names may be omitted. If an attribute has no name it will be given a positional numeric key in the $atts array. For example, [myshortcode 123] will produce $atts = array( 0 => 123 ). Positional attributes may be mixed with named ones, and quotes may be used if the values contain spaces or other significant characters.”Forum: Fixing WordPress
In reply to: Shorter shortcode?Could you not… make a plug-in (or function?) that replaces shortcode where the shortcode is immediately followed by an equal sign? So you’d type
[i=134]but the plugin would find it and automatically turn it into[i i=134]before the shortcode API got to it?