th23
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Local Avatars] Avatar image file name – add unique identifierHi there, any chance to get an update/ feedback on this suggestion? Thanks!
Forum: Plugins
In reply to: [Firelight Lightbox] Separation into posts not obeyed after update to 1.3.4.9Yes, I have a link…but shame on me, I messed up the setting regarding how it should split between the posts/ galleries :-/
Sorry to have bothered you – and thanks for your quick reply!
Hi Joo,
thanks for the feedback. I will take that points into consideration for a potential next version of the plugin…but to be honest, it’s not one of my core activities right now ??
Anyway, appreciate your feedback a lot!
Cheers
th23Forum: Plugins
In reply to: [Shuffle] Shuffle Plugin – SuggestionsI played around with the code a bit – and came up with the following solution to my requests.
1) Open the “shuffle.php” file
2) Replace
function shuffle_columns($defaults) { $defaults['shuffle'] = __('Detach'); return $defaults; } add_filter('manage_media_columns', 'shuffle_columns'); function shuffle_custom_column($column_name, $id) { if ($column_name === 'shuffle') { $parent = (int) get_post_field('post_parent', (int) $id); if ($parent > 0) { printf('<a href="admin.php?action=shuffle_detach&post_id=%d">%s</a>', $id, __('Detach')); } } } add_action('manage_media_custom_column', 'shuffle_custom_column', 10, 2);
3) Insert instead
function th23_shuffle_media_columns($defaults) { $defaults_new = array(); foreach ($defaults as $default_key => $default_value) { if ($default_key == 'parent') { $default_key = 'th23_attached_to'; $default_value = __('Attached to'); } $defaults_new[$default_key] = $default_value; } $defaults = $defaults_new; return $defaults; } add_filter('manage_media_columns', 'th23_shuffle_media_columns'); function th23_shuffle_media_custom_column($column_name, $id) { if ($column_name == 'th23_attached_to') { $parent_id = (int) get_post_field('post_parent', (int) $id); if ( $parent_id > 0 ) { //$parent = get_post($parent_id); //print_r($parent); //'<a href="post.php?post=' . $parent['ID'] . '&action=edit">' . $parent->post_title . '</a>'; echo '<strong><a href="' . get_edit_post_link($parent_id) . '">' . _draft_or_post_title($parent_id) . '</a></strong>, ' . get_the_time(__('Y/m/d'), $parent_id) . '<br />'; echo '<div class="row-actions"><a class="hide-if-no-js" onclick="findPosts.open(\'media[]\',\'' . $id . '\');return false;" href="#the-list">' . __('Re-Attach') . '</a> | <a href="admin.php?action=shuffle_detach&post_id=' . $id . '">' . __('Detach') . '</a> | ' . shuffle_do_link($parent_id, __('Shuffle Media')) . '</div>'; } else { echo __('(Unattached)') . '<br />'; echo '<div class="row-actions"><a class="hide-if-no-js" onclick="findPosts.open(\'media[]\',\'' . $id . '\');return false;" href="#the-list">' . __('Attach') . '</a></div>'; } } } add_action('manage_media_custom_column', 'th23_shuffle_media_custom_column', 10, 2);
Alternatively modify the existing functions accordingly…
That’s it – hope this helps someone ??
Forum: Themes and Templates
In reply to: Issues in Internet ExplorerThe URL is https://wordpress.th23.net/
I have done validation of the site before, but as it’s a brand new install without modifications, it went through well – nothing related to the described bugs ??
Forum: Themes and Templates
In reply to: Mystique: Removing padding between Nav Bar and Main ContentTry to add this code to the User CSS in the them…
#header .shadow-right { padding-bottom: 0px; }