Title: Levy's Replies | WordPress.org

---

# Levy

  [  ](https://wordpress.org/support/users/andrelevy/)

 *   [Profile](https://wordpress.org/support/users/andrelevy/)
 *   [Topics Started](https://wordpress.org/support/users/andrelevy/topics/)
 *   [Replies Created](https://wordpress.org/support/users/andrelevy/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/andrelevy/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/andrelevy/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/andrelevy/engagements/)
 *   [Favorites](https://wordpress.org/support/users/andrelevy/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/users/andrelevy/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/andrelevy/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Featured Video Plus] Auto-set not working after migration](https://wordpress.org/support/topic/auto-set-not-working-after-migration/)
 *  Thread Starter [Levy](https://wordpress.org/support/users/andrelevy/)
 * (@andrelevy)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/auto-set-not-working-after-migration/#post-7531660)
 * Working now.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Media Library Assistant] How to add a number to the title of images inserted in same post?](https://wordpress.org/support/topic/how-to-add-a-number-to-the-title-of-images-inserted-in-same-post/)
 *  Thread Starter [Levy](https://wordpress.org/support/users/andrelevy/)
 * (@andrelevy)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/how-to-add-a-number-to-the-title-of-images-inserted-in-same-post/#post-7587101)
 * 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 …
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Media Library Assistant] How to add a number to the title of images inserted in same post?](https://wordpress.org/support/topic/how-to-add-a-number-to-the-title-of-images-inserted-in-same-post/)
 *  Thread Starter [Levy](https://wordpress.org/support/users/andrelevy/)
 * (@andrelevy)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/how-to-add-a-number-to-the-title-of-images-inserted-in-same-post/#post-7587097)
 * 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](https://wordpress.org/plugins/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.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Media Library Assistant] How to add a number to the title of images inserted in same post?](https://wordpress.org/support/topic/how-to-add-a-number-to-the-title-of-images-inserted-in-same-post/)
 *  Thread Starter [Levy](https://wordpress.org/support/users/andrelevy/)
 * (@andrelevy)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/how-to-add-a-number-to-the-title-of-images-inserted-in-same-post/#post-7587036)
 * I mean inserted in the body of the post.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Jetpack - WP Security, Backup, Speed, & Growth] How can I include Jetpack's related posts in the RSS feed?](https://wordpress.org/support/topic/how-can-i-include-jetpacks-related-posts-in-the-rss-feed/)
 *  Thread Starter [Levy](https://wordpress.org/support/users/andrelevy/)
 * (@andrelevy)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/how-can-i-include-jetpacks-related-posts-in-the-rss-feed/#post-7527508)
 * Fixed, Jeremy, thanks.
 * Mission accomplished, I think. Pretty happy with the result: [http://7uvw.xyz/ladodireitodaequidade/feed](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.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Jetpack - WP Security, Backup, Speed, & Growth] How can I include Jetpack's related posts in the RSS feed?](https://wordpress.org/support/topic/how-can-i-include-jetpacks-related-posts-in-the-rss-feed/)
 *  Thread Starter [Levy](https://wordpress.org/support/users/andrelevy/)
 * (@andrelevy)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/how-can-i-include-jetpacks-related-posts-in-the-rss-feed/#post-7527490)
 * 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](http://7uvw.xyz/ladodireitodaequidade/feed)
 * Or am I supposed to do something else with it now?
 * Thanks again.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Jetpack - WP Security, Backup, Speed, & Growth] How can I include Jetpack's related posts in the RSS feed?](https://wordpress.org/support/topic/how-can-i-include-jetpacks-related-posts-in-the-rss-feed/)
 *  Thread Starter [Levy](https://wordpress.org/support/users/andrelevy/)
 * (@andrelevy)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/how-can-i-include-jetpacks-related-posts-in-the-rss-feed/#post-7527460)
 * 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/](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.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Jetpack - WP Security, Backup, Speed, & Growth] How can I include Jetpack's related posts in the RSS feed?](https://wordpress.org/support/topic/how-can-i-include-jetpacks-related-posts-in-the-rss-feed/)
 *  Thread Starter [Levy](https://wordpress.org/support/users/andrelevy/)
 * (@andrelevy)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/how-can-i-include-jetpacks-related-posts-in-the-rss-feed/#post-7527449)
 * 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-comments](https://wordpress.org/support/topic/facebook-twitter-avatars-not-showing-in-comments)
   > **Plugin to integrate subscription with Jetpack**
   >  [https://wordpress.org/support/topic/plugin-to-integrate-subscription-with-jetpack](https://wordpress.org/support/topic/plugin-to-integrate-subscription-with-jetpack)
   > **Jetpack makes my post seem blank. Cannot edit existing posts.**
   >  [https://wordpress.org/support/topic/jetpack-makes-my-post-seem-blank-cannot-edit-existing-posts](https://wordpress.org/support/topic/jetpack-makes-my-post-seem-blank-cannot-edit-existing-posts)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Media Library Assistant] Parent category tag](https://wordpress.org/support/topic/parent-category-tag/)
 *  Thread Starter [Levy](https://wordpress.org/support/users/andrelevy/)
 * (@andrelevy)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/parent-category-tag/#post-7399691)
 * Ok. Done.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Media Library Assistant] Parent category tag](https://wordpress.org/support/topic/parent-category-tag/)
 *  Thread Starter [Levy](https://wordpress.org/support/users/andrelevy/)
 * (@andrelevy)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/parent-category-tag/#post-7399689)
 * Aha, 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](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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Media Library Assistant] Parent category tag](https://wordpress.org/support/topic/parent-category-tag/)
 *  Thread Starter [Levy](https://wordpress.org/support/users/andrelevy/)
 * (@andrelevy)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/parent-category-tag/#post-7399687)
 * Thanks 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](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?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Open Graph and Twitter Card Tags] What's the advantage of using this Yoast vs just Yoast?](https://wordpress.org/support/topic/whats-the-advantage-of-using-this-yoast-vs-just-yoast/)
 *  Thread Starter [Levy](https://wordpress.org/support/users/andrelevy/)
 * (@andrelevy)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/whats-the-advantage-of-using-this-yoast-vs-just-yoast/#post-7209520)
 * Yes, I know. Just asking whether there is a list of what it includes that Yoast
   doesn’t.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Open Graph and Twitter Card Tags] What's the advantage of using this Yoast vs just Yoast?](https://wordpress.org/support/topic/whats-the-advantage-of-using-this-yoast-vs-just-yoast/)
 *  Thread Starter [Levy](https://wordpress.org/support/users/andrelevy/)
 * (@andrelevy)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/whats-the-advantage-of-using-this-yoast-vs-just-yoast/#post-7209518)
 * Thanks, Sreejesh. Which ones? Is there a list?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Media Library Assistant] Parent category tag](https://wordpress.org/support/topic/parent-category-tag/)
 *  Thread Starter [Levy](https://wordpress.org/support/users/andrelevy/)
 * (@andrelevy)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/parent-category-tag/#post-7399685)
 * Thanks 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](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Copy ALT attribute to TITLE attribute automatic](https://wordpress.org/support/topic/copy-alt-attribute-to-title-attribute-automatic/)
 *  [Levy](https://wordpress.org/support/users/andrelevy/)
 * (@andrelevy)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/copy-alt-attribute-to-title-attribute-automatic/#post-6755069)
 * I’ve managed this with the Media Library Assistant plugin and the Media File 
   Renamer plugin mentioned above.

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/users/andrelevy/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/andrelevy/replies/page/2/?output_format=md)