Frumph
Forum Replies Created
-
You should always load stuff up in the footer, as long as it will work that way
Try using:
get_stylesheet_directory_uri()wp_enqueue_script('equalheights', get_stylesheet_directory_uri().'/js/jquery.equalheights.js', array('jQuery'), null, true);^ the true part loads in the footer, you really don’t need the register and add_action parts just to test it out
test the get_stylesheet_directory_uri() with var_dump too
var_dump(get_stylesheet_directory_uri().'/js/jquery.equalheights.js');to see if that’s the output you want for the uri
Forum: Hacks
In reply to: Custom Post Typeregister_taxonomy_for_object_type('category','audio');Forum: Hacks
In reply to: Update Display NameYou’re probably looking for “user_nicename’
http://codex.wordpress.org/Function_Reference/get_userdata
on the update you probably want to reload getting the userdata as well
Forum: Themes and Templates
In reply to: Header Image Repeating in all browsers with Minimatica theme.. your CSS doesn’t have a no-repeat; on it
background: url("http://ehub31.webhostinghub.com/~sblgpc5/wp-content/uploads/2012/12/sb_title300-100.png") left top no-repeat;or just this added to that section
background-repeat: no-repeat;Forum: Fixing WordPress
In reply to: Regenerate Thumbnailswp-admin -> settings -> media, leave the 2nd area where you type in the height size blank, and uncheck the checkbox on those size options.
Then use the ajax thumbnail regenerator plugin to regenerate your thumbnails.
Forum: Fixing WordPress
In reply to: links to blog posts broken@surachar Dandelion is a pay-for theme not available on the WordPress repo, please direct your question to the themeforest guys.
Forum: Plugins
In reply to: add_action anonymous callback functionapparently this is a PHP 5.3 only thing, and is now removed from the codex
nothing to see here, move along ;/
Forum: Hacks
In reply to: Sticky Posts ignores 'posts_per_page'… you just do the regular if (have_posts()) stuff … just without the query before it
Forum: Hacks
In reply to: Sticky Posts ignores 'posts_per_page'looks like it is..
anyways, do *not* recreate the main loop do this instead from functions.php
add_filter('pre_get_posts', 'mytheme_blogpostcount_filter'); // Set the posts per page on the home page function mytheme_blogpostcount_filter($query) { if ( $query->is_home() && $query->is_main_query() ) { $query->set('posts_per_page', '6'); } return $query; }^ what this will do is make the MAIN loop for wordpress recognize the posts_per_page properly before the main loop is SQL run that way it gets parsed properly with the pagination and other things…
You might have to add the filter to init .. i forget.
add_action('init','mytheme_blogpostcount_filter_init'); function mytheme_blogpostcount_filter_init() { add_filter('pre_get_posts', 'mytheme_blogpostcount_filter'); }^ if someone wants to chime in on whether or not it’s necessary to run in init (or other action location)
Forum: Hacks
In reply to: Sticky Posts ignores 'posts_per_page'Is this on the home page?
Forum: Themes and Templates
In reply to: [Easel] widget at the bottomforget all that, I found the problem
it’s in this post
you have a </div> or extra <div> inside of that post
Forum: Themes and Templates
In reply to: [Easel] Does Easel Work With Mobile Phones.. I can view it as a website just fine with my smartphone ..
you can use jetpacks (the plugin) mobile theme and it works just fine as well
that mobile theme will not work with comic easel the plugin though if that’s the reason you’re using Easel
Forum: Themes and Templates
In reply to: [Easel] widget at the bottomwell from what I see is that the sidebar-right is down there, because you CSS’d your width for narrowcolumn all the way across
Forum: Themes and Templates
In reply to: [Easel] Correct Background Size.. missing an end } there on the body {} portion ..