Levy
Forum Replies Created
-
Forum: Plugins
In reply to: [Featured Video Plus] Auto-set not working after migrationWorking now.
I already do that with MLA using the bulk edit function (I use the ‘Map EXIF metadata’ to pull the custom rule “template:([+parent_terms:category,single+]): ([+parent_title+])”). All I’m missing here is a numbering field to distinguish the images:
category: title (1)
category: title 2
category: title 3
…My end goal actually is to rename the file, not the library records. So I use MLA to rename all library record titles and then use the Media File Renamer plugin to rename all filenames to match the library title (as it also makes sure all references in the database to the image are updated to the new filenames). I do this for SEO and also just to be somewhat organised.
I mean inserted in the body of the post.
Fixed, Jeremy, thanks.
Mission accomplished, I think. Pretty happy with the result: http://7uvw.xyz/ladodireitodaequidade/feed
Here’s the formatting we ended up with:
$related_list .= sprintf( '<p>- %3$s: <b>%1$s</b><br><a title="%1$s" href="%2$s">%2$s</a></p>', esc_attr( get_the_title( $related_post_id ) ), get_permalink( $related_post_id ), get_the_category( $related_post_id )[0]->name );Thanks again.
I’m not entirely clear on what to do there, so I installed the code snippets plugin, copy/pasted, saved and activated the code, and… nothing. Was that supposed to be enough to show related posts in the rss feed?
Here it is; I don’t see it: http://7uvw.xyz/ladodireitodaequidade/feed
Or am I supposed to do something else with it now?
Thanks again.
I can see the url of the related posts is included in _get_related_post_data_for_post(), but have no idea what to do with it:
http://jetpack.wp-a2z.org/oik_api/jetpack_relatedposts_get_related_post_data_for_post/
If I understand this, I’d also like to add the related posts’ excerpt under their titles on the webpage.
Thanks, Jeremy.
This code returns related post titles separated by commas. Can you help me out a bit more with the necessary changes to return something like:
Facebook & Twitter Avatars not showing in Comments
https://wordpress.org/support/topic/facebook-twitter-avatars-not-showing-in-commentsPlugin to integrate subscription with Jetpack
https://wordpress.org/support/topic/plugin-to-integrate-subscription-with-jetpackJetpack makes my post seem blank. Cannot edit existing posts.
https://wordpress.org/support/topic/jetpack-makes-my-post-seem-blank-cannot-edit-existing-postsForum: Plugins
In reply to: [Media Library Assistant] Parent category tagOk. Done.
Forum: Plugins
In reply to: [Media Library Assistant] Parent category tagAha, ok, I wasn’t sure what you meant by “When you have installed and activated the /examples/mla-substitution-parameter-hooks-example.php.txt example plugin ” – I thought this would automatically install with the rest of the main code, but now I followed your instructions in the documentation as below and have it installed.
And, yet, no can do: http://imgur.com/a/Rg7CQ
I tried both with and without parenthesis. With, nothing happens, and without it pastes in the literal parameter code.
An example of using the hooks from a simple, stand-alone plugin can be found here: mla-substitution-parameter-hooks-example.php.txt. To run the example:
1. Remove the “.txt” extension and save the “mla-substitution-parameter-hooks-example.php” file in your plugins directory. You can give the plugin and its file any (unique) name you like.
2. Go to the Plugins/Installed Plugins screen and activate the “MLA Substitution Parameter Hooks Example” plugin.
3. Create a new
[mla_gallery]shortcode, markup template or mapping rule that uses terms from an item’s parent post/page.4. Run the shortcode or mapping rule to see the plugin’s data put to use.
Forum: Plugins
In reply to: [Media Library Assistant] Parent category tagThanks for the ever so kind response, David.
I followed your instructions – installed the dev version and all – but it didn’t work.
Here is the config and the outcome: http://imgur.com/a/WJP62
But I’m glad I learned how to map the image title to the parent title by default 🙂
Your plugin is a powerhorse!
P.S. Oh, I thought the primary category was std WP, but it must be a Yoast thing. Is that what the problem is?
Yes, I know. Just asking whether there is a list of what it includes that Yoast doesn’t.
Thanks, Sreejesh. Which ones? Is there a list?
Forum: Plugins
In reply to: [Media Library Assistant] Parent category tagThanks for the thoughful reply, David. Sorry for my belated response. My answers:
1. Metadata mapping, I reckon. Each post in my site is a quote (not all, but let’s just say), and the featured image is a photo of the author. I’ve been using parent_title to bulk fill out the title and the alt of the image, but ideally what I’d like to put as the alt is the author, which is the category of the post.
2. I don’t assign posts to more than one category on this site, but the distinction of a primary category for each post is now standard in WP. That’s true for categories, not tags.
3. Sure. Not ideal, but I’ll beta test it for you, if you’d like to later include it in the main code.
I had a look at the other thread, but it seems to refer to alternate uses of variables already defined in the main code, no? (e.g. description, caption, page_title, etc)
Forum: Fixing WordPress
In reply to: Copy ALT attribute to TITLE attribute automaticI’ve managed this with the Media Library Assistant plugin and the Media File Renamer plugin mentioned above.