Skip to content

Tag Archives: wordpress

Disable Quotation Mark Modifications from WordPress

10-Feb-10

Remove automatic modification of quotation marks (e.g. " to opening and closing quotation marks) by entering the following 4 lines to the functions.php file of your theme. remove_filter('the_content', 'wptexturize'); remove_filter('the_title', 'wptexturize'); remove_filter('the_excerpt', 'wptexturize'); remove_filter('comment_text', 'wptexturize'); As the code says, it removes the wptexturize filter, which does other things as well, e.g. changes double dashes (--) [...]

JavaScript to Footer in WordPress

20-Jan-10

Want to move that jQuery and other js references from header to footer? Try JavaScript to Footer plugin.

Cookie-free JS, CSS, etc for WordPress

15-Jan-10

These 3 steps will help you to set up cookie free JavaScript, CSS and other files for your WordPress installation. (This is especially helpful for changing the domain of certain JS/CSS file references added by plugins.) Before you start, make sure your blog URL has a leading www (e.g. www.example.com, not example.com) in your WordPress [...]

WP Minify

08-Jan-10

Note to self. When building WP sites with several js/css files, remember to include WP Minify with the regular plugins.

WordPress: Remove RSS (e.g. Page / Comments) Feed from Head

09-Oct-09

Insert into theme's functions.php: remove_action( 'wp_head', 'feed_links_extra', 3); // Removes the links to the extra feeds such as category feeds remove_action( 'wp_head', 'feed_links', 2); // Removes links to the general feeds: Post and Comment Feed Other stuff: Removing wp_head() elements (rel=’start’, etc.)