luhmann
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Twenty Thirteen] Sidebar: Make it only appear on the main pageLots of googling and I fixed the problem. Basically, you need to stop functions.php from assigning the “sidebar” “body_class” to the body element. The only way to do that is to re-write the function. However, since it is better to use child themes, you have to first remove the previous function and then add a new one. The new one should not write “sidebar” if the page is a single post. This code works for me:
/** * Remove the default filter. */ function remove_twentythirteen_body_classes(){ remove_filter( 'body_class', 'twentythirteen_body_class' ); } add_action('init', 'remove_twentythirteen_body_classes'); /** * Extend the default WordPress body classes. */ function twentythirteen_child_body_class( $classes ) { if ( ! is_multi_author() ) $classes[] = 'single-author'; /** * the && ! is_single() at the end of this is the only real change to the function. */ if ( is_active_sidebar( 'sidebar-2' ) && ! is_attachment() && ! is_404() && ! is_single() ) $classes[] = 'sidebar'; if ( ! get_option( 'show_avatars' ) ) $classes[] = 'no-avatars'; return $classes; } add_filter( 'body_class', 'twentythirteen_child_body_class' );Forum: Themes and Templates
In reply to: [Twenty Thirteen] Sidebar: Make it only appear on the main pageRegarding @hdsusanto’s code. It actually should be a negative call for “is single” if you want it on the main page. This worked for me. (But still leaves the blank space on single pages instead of using the full width.)
if ( ! is_single() && is_active_sidebar( 'sidebar-2' ) ) : ?>Forum: Themes and Templates
In reply to: [Twenty Thirteen] Sidebar: Make it only appear on the main pageDid you ever solve this problem?
I’d like to do the same thing.
Forum: Plugins
In reply to: [BackWPup – WordPress Backup & Restore Plugin] 3.0.11 gives redirect error…Looks like UpdraftPlus might be a less intrusive Dropbox Backup solution.
Forum: Plugins
In reply to: [BackWPup – WordPress Backup & Restore Plugin] 3.0.11 gives redirect error…“Can we just ditch that whole display on update feature? Really it isn’t necessary.”
Please. Silly to have to install a second plugin to have to tame the excesses of another plugin.
Forum: Fixing WordPress
In reply to: uploading images to wordpress 3.3Installing the “Hotfix” plugin fixed my problems.
Forum: Fixing WordPress
In reply to: uploading images to wordpress 3.3I have the same issue. I’m using the latest version of Chrome for OS X. The button and alternative link on the “upload new media” page simply don’t do anything.
Forum: Fixing WordPress
In reply to: “lost password” function not workingI’m having the same issue. I’ve not modified anything outside of the theme and plugin folders (except the .htaccess file). Reset isn’t working. I’ll try PHPmyAdmin to see if that works (looks like it should.)
Forum: Fixing WordPress
In reply to: all but homepage as singlecol (blix)Thanks!
Forum: Fixing WordPress
In reply to: all but homepage as singlecol (blix)Note: I tried this
http://wordpress.org/support/topic/38363
But it didn’t work. (I changed “gallery” to “pages” which is the prefix for all my archives – but it still didn’t work…)
Forum: Fixing WordPress
In reply to: Footnotes without Markdown?I just found this, which looks really nice:
http://www.brandspankingnew.net/archive/2005/07/format_footnote.html
Don’t know of any WP implementation yet, however, but it would be nice to have!
Forum: Plugins
In reply to: Add Post Title to Comments FeedThere seems to be a bug report on this, but I can’t tell whether it has been fixed or not:
Forum: Plugins
In reply to: Add Post Title to Comments FeedHas anyone solved this one?
Forum: Fixing WordPress
In reply to: problems with XMLRPC interfaceHow do you report a bug? Or find out if it has been reported?
Forum: Fixing WordPress
In reply to: problems with XMLRPC interfaceNote: You need to comment it out twice. Otherwise it will appear when you update an existing entry!
Thanks for figuring this out!