Kailey (trepmal)
Forum Replies Created
-
I’ve not been able to replicate this issue – are there any other details you could provide?
It’s not a possibility right now, but I’ll certainly consider incorporating this into a future release.
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.
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.
http://wordpress.org/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
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: http://www.last.fm/user/trepmal
I’m not promising any sort of time line, but I’ll try to work these options into my fork of this plugin
http://wordpress.org/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
Forum: Plugins
In reply to: [Easy Random Quotes] [Plugin: Easy Random Quotes] HTML broke it =-STo be fair, my the delete checkboxes aren’t labeled…. I’ll try to make a note of that in my next release.
Glad it’s working for you, and I’m glad you like the plugin!
Forum: Plugins
In reply to: [Easy Random Quotes] [Plugin: Easy Random Quotes] HTML broke it =-SI’m having trouble replicating the issue.
Could you tell me what version of WP you’re using, browser, and if you can the quote/code that broke the admin area?
I haven’t come across this issue before – could you provide the settings you’re using and if possible a live link to the affected site? The more details the better.
Forum: Plugins
In reply to: [Plugin: Advanced Most Recent Posts] Displaying Author?instead of
get_the_author()tryget_the_author_meta('first_name', $post->author)for something other than first name, see this codex article: http://codex.wordpress.org/Function_Reference/the_author_meta
yeah… definitely looking forward to the 3.1 admin bar – just looking for something to help me out until it has a stable release.
thanks for taking a look
add_action('admin_menu', 'create_my_sites_menu',1);
function create_my_sites_menu() {
global $current_user;
get_currentuserinfo();$user_blogs = get_blogs_of_user($current_user->ID,true);
add_menu_page( 'My Sites', "My Sites <span class='update-plugins'><span class='pending-count'>".count($user_blogs)."</span></span>", 'unfiltered_html', 'list-my-sites', 'my_sites');
foreach($user_blogs as $k=>$blog) {
add_submenu_page( 'list-my-sites', $blog->blogname, substr($blog->blogname,0,15), 'unfiltered_html', 'siteid-'.$k, 'nothin');
}function my_sites() {echo '';}
function nothin() {echo '';}}
add_action('admin_menu','change_links',1);
function change_links() {global $submenu,$menu;
$mysites = $menu['100'];
$mysites['4'] = str_replace('menu-top-first','',$mysites['4']);
unset($menu['100']);
$menu['1'] = $mysites;
$menu['1.5'] = array('','read','separator-last','','wp-menu-separator-last');
$submenu['list-my-sites']['0']['2'] = 'my-sites.php';foreach($submenu['list-my-sites'] as $site=>$info) {
if ($site == '0') continue;
$id = str_replace('siteid-','',$submenu['list-my-sites'][$site]['2']);
$site_details = get_blogaddress_by_id($id);
$submenu['list-my-sites'][$site]['2'] = $site_details.'wp-admin/';
}}
After staring at it for awhile, it occurred to me that it’s probably related to the
admin_menuhook since that’s not run on the front end – I just haven’t had a chance to test that yet…My fork of this plugin has an option to specify a separator to be used between the title and excerpt
http://wordpress.org/extend/plugins/advanced-most-recent-posts-mod/I often replace the colon with
<br />Forum: Plugins
In reply to: Advanced Most Recent Postsuse
paddingfor he space between the internal text and border
usemarginfor the space between the border and the neighboring element.Forum: Plugins
In reply to: Advanced Most Recent Postshow about
ul.advanced-recent-posts li { border: 1px solid #B6B6B6; padding:5px; }