Viewing 10 replies - 1 through 10 (of 10 total)
  • I’m not promising any sort of time line, but I’ll try to work these options into my fork of this plugin

    https://www.ads-software.com/extend/plugins/advanced-most-recent-posts-mod/

    If you wanted to hack the plugin yourself, you could remove the text by editing line 234

    from $postlist .= '<li><a href="' . get_permalink($post->ID) . '" title="'. $post_title .'" >' . $image . $post_title . '</a>' . $excerpt . "</li>";

    to $postlist .= '<li><a href="' . get_permalink($post->ID) . '" title="'. $post_title .'" >' . $image . '</a></li>';

    Not sure of the exact change to add an alt tag right now, but for that, you’d probably need to edit line 208

    Thread Starter JHouse

    (@jhouse)

    Bitchin’, thanks for the info. I see you listen to a lot of music; what genres do you like, if you don’t mind me asking? I produce and DJ, so I’m kinda curious.

    Thanks again for this handy plugin.

    Peace.

    The original plugin is not mine, so I can’t take any credit for that. I just needed more options then that plugin provided, so I’ve forked it made my modifications available to anyone who wants them.

    As for what I listen to: https://www.last.fm/user/trepmal

    I’ve just submitted version 1.5 (as a dev release only) which adds an option to the widget for showing/hiding the post title as well as a few other options.

    https://www.ads-software.com/extend/plugins/advanced-most-recent-posts-mod/download/

    it appears to work just fine, but until I fully test the update from 1.4, I’m leaving it as a dev-download only

    Thread Starter JHouse

    (@jhouse)

    WOW, you are on it! I will try it out shortly.

    Thanks.

    Thread Starter JHouse

    (@jhouse)

    Okay, it works. Yayyy! I like the feature “Display Title” or something like that, thanks for implementing that.

    The alt tags still aren’t there, thus the markup doesn’t validate. Should I just do that myself? My concern is when I update this plugin in the future…I don’t want to override my edits, then have to do it again.

    Thanks again.

    For now, you can hard-code an empty alt tag into the plugin (line 400 or so, look for “if ($img))

    I haven’t yet added the code to grab the alt tag from an existing image.

    Thread Starter JHouse

    (@jhouse)

    Thank you, that worked perfectly.

    Have a great day!

    ahhhhh, im loving the new features you added. Thank you.

    I have a request/question:

    How do i set the Thumbnail Custom Field Name to actually use the Featured Image from the post/custom type ? Can i define what size of thumbnail to use?

    If this is not possible right now, it would be nice to add it.

    Thanks again!

    It’s not a possibility right now, but I’ll certainly consider incorporating this into a future release.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: Advanced Most Recent Posts] Where to add "alt" tags’ is closed to new replies.