WordPress.org

Ready to get started?Download WordPress

Profiles

SpankMarvin

Profile picture of SpankMarvin
  • Member Since: October 20th, 2008
  • Posted a reply to "Changing hide_empty in wp-includes->category-template.php without changing core?", on the site WordPress Support Forums:
    That's not how the function is working. It's saying "if there is any output, do…

    2 months ago

  • Posted a reply to "Changing hide_empty in wp-includes->category-template.php without changing core?", on the site WordPress Support Forums:
    Anywhere in that array? So: <?php $terms = wp_list_categories( array( 'taxonomy' => get_queried_object()->taxonomy, 'child_of' =>…

    2 months ago

  • Posted a reply to "Changing hide_empty in wp-includes->category-template.php without changing core?", on the site WordPress Support Forums:
    Add 'hide_empty' => 0 to that array?

    2 months ago

  • Posted a reply to "Changing hide_empty in wp-includes->category-template.php without changing core?", on the site WordPress Support Forums:
    What's the code generating the menu?

    2 months ago

  • Posted a reply to "Header logo won't center + only showing content when on mobile?", on the site WordPress Support Forums:
    Oh - just noticed the div is one of a three-column layout, so you really…

    2 months ago

  • Posted a reply to "Inserting PHP inside do_shortcode", on the site WordPress Support Forums:
    You should do this via hooks if you can. Take a look at the shortcode…

    2 months ago

  • Posted a reply to "Header logo won't center + only showing content when on mobile?", on the site WordPress Support Forums:
    So, your issue is with how the logo image itself is playing with Bootstrap's container…

    2 months ago

  • Posted a reply to "Specific Slug Freezing Page Load?", on the site WordPress Support Forums:
    I should add: the page freezes before rendering. I.e. I get the browser waiting for…

    2 months ago

  • Created a topic, Specific Slug Freezing Page Load?, on the site WordPress Support Forums

    2 months ago

  • Posted a reply to "Over-ride CPO in shortcode WP_query", on the site WordPress Support Forums:
    Hey Will Not sure if you're having this problem still, but I have a solution…

    4 months ago

  • Posted a reply to "White Screen of Death", on the site WordPress Support Forums:
    You can also modify your wp-config.php file to show debug info: define( 'WP_DEBUG', true );

    5 months ago

  • Posted a reply to "Display Featured Image with latest post grab", on the site WordPress Support Forums:
    You'll want to replace the img tag with <?php the_post_thumbnail(); ?>

    5 months ago

  • Posted a reply to "WordPress site wont work correctly in ie8", on the site WordPress Support Forums:
    You can find it at https://github.com/scottjehl/Respond Add it to your theme folder. From there you…

    6 months ago

  • Posted a reply to "WordPress site wont work correctly in ie8", on the site WordPress Support Forums:
    A quick fix worth trying is to add respond.js as a conditional (lt IE9) to…

    7 months ago

  • Posted a reply to "Mobile Redirect with a difference.", on the site WordPress Support Forums:
    Try this code instead? function do_home_redirect() { if( wp_is_mobile() && ( is_front_page() || is_home() )…

    7 months ago

  • Posted a reply to "Mobile Redirect with a difference.", on the site WordPress Support Forums:
    Although it's better to have the URL being pulled from the CMS rather than hard-coded,…

    7 months ago

  • Posted a reply to "Mobile Redirect with a difference.", on the site WordPress Support Forums:
    It shouldn't matter where you place it in functions.php. In the page editor, there should…

    7 months ago

  • Posted a reply to "Mobile Redirect with a difference.", on the site WordPress Support Forums:
    It shouldn't matter where you place it in functions.php. In the page editor, there should…

    7 months ago

  • Posted a reply to "PHP multiple strings behind each other", on the site WordPress Support Forums:
    Either: unset( $column_headers['coupon_items'], $column_headers['date'], $column_headers['something']); or if you have a bunch of values in the…

    7 months ago

  • Posted a reply to "Mobile Redirect with a difference.", on the site WordPress Support Forums:
    Sorry, and place this in your functions.php file.

    7 months ago

  • Posted a reply to "Mobile Redirect with a difference.", on the site WordPress Support Forums:
    Try hooking into init (i.e. before headers are sent) to access a redirect if a…

    7 months ago

  • Posted a reply to "is_active_sidebar not working with this plugin.", on the site WordPress Support Forums:
    My code is here: http://pastebin.com/QHLSxvse Basically, it hooks into wp_head, runs the function above, and…

    8 months ago

  • Posted a reply to "is_active_sidebar not working with this plugin.", on the site WordPress Support Forums:
    mattscottdesign, thank you thank you! I needed a way of adding a body class ONLY…

    8 months ago

  • Posted a reply to "POrtfolio item 404 error", on the site WordPress Support Forums:
    I know it seems odd, but don't change any settings, just hit the save button.

    1 year ago

  • Posted a reply to "POrtfolio item 404 error", on the site WordPress Support Forums:
    Just go to permalinks and click "Save changes." See if that works.

    1 year ago

  • Posted a reply to "How to redirect wordpress to tumblr page", on the site WordPress Support Forums:
    Download a 301 redirect plugin and set the root to redirect to the Tumblr location.

    1 year ago

  • Posted a reply to "POrtfolio item 404 error", on the site WordPress Support Forums:
    Try going to Settings > Permalinks and simply updating?

    1 year ago

  • Posted a reply to "Loop not displaying posts, instead has a link to the homepage", on the site WordPress Support Forums:
    Tom -- sorry for being lazy! Thanks for incorporating. I had kind of misread the…

    2 years ago

  • Posted a reply to "Loop not displaying posts, instead has a link to the homepage", on the site WordPress Support Forums:
    Looks good to me. This is a sound approach of you are trying to perform…

    2 years ago

  • Posted a reply to "Loop not displaying posts, instead has a link to the homepage", on the site WordPress Support Forums:
    Try modifying your code above so that you don't use query_posts. Try placing the following…

    2 years ago

  • Posted a reply to "Broken Pagination Links", on the site WordPress Support Forums:
    the only way around it would be to rename the post type slug instead. However,…

    2 years ago

  • Posted a reply to "Broken Pagination Links", on the site WordPress Support Forums:
    Is the custom post type slug also called 'portfolio'? This can break things on pagination.…

    2 years ago

  • Posted a reply to "Order by page__in array sequence?", on the site WordPress Support Forums:
    I have a copy of the code. To save you the bother: Sorry, edit: Here…

    2 years ago

  • Posted a reply to "How to get size of thumbnail?", on the site WordPress Support Forums:
    Use wp_get_attachment_image_src() function, with the id as the first parameter, and the size (e.g. 'thumbnail')…

    2 years ago

  • Posted a reply to "add a line to each new article", on the site WordPress Support Forums:
    If I understand correctly, you're best off using custom fields. Create a new custom field…

    2 years ago

  • Posted a reply to "Highlight parent page that lists custom post type", on the site WordPress Support Forums:
    Oh, BTW, I am assuming that your post type slug is 'portfolio', which it might…

    3 years ago

  • Posted a reply to "Highlight parent page that lists custom post type", on the site WordPress Support Forums:
    Place that code somewhere before the menu code. And remember to include the extra code…

    3 years ago

  • Posted a reply to "Post Thumbnail Problem", on the site WordPress Support Forums:
    Wherever in your theme your thumbnail is appearing, it ought to be using the_post_thumbnail() function.…

    3 years ago

  • Posted a reply to "Highlight parent page that lists custom post type", on the site WordPress Support Forums:
    Top of my head, not tested: <?php if( is_singular() ){ $p_type = get_post_type( $post->ID );…

    3 years ago

  • Posted a reply to "CSS borders between posts in loop all clumped at the top of the page", on the site WordPress Support Forums:
    Try adding display: block; and overflow: hidden; to the tags above?

    3 years ago

  • Posted a reply to "Post Thumbnail Problem", on the site WordPress Support Forums:
    In your theme, you an either assign a size manually to the_post_thumbnail by replacing 'thumbnail'…

    3 years ago

  • Posted a reply to "Multi-directional array in custom post type?", on the site WordPress Support Forums:
    My arrays in the forms were stupid. Makes far more sense to name them custom_callouts_abbrev[]…

    3 years ago

  • Posted a reply to "wp nav menu adding a logout link by its self - How to remove?", on the site WordPress Support Forums:
    I would still try looking for a filter as per the above. It might be…

    3 years ago

  • Posted a reply to "wp nav menu adding a logout link by its self - How to remove?", on the site WordPress Support Forums:
    Almost certainly this has to be a filter added by the woo commerce plugin. Are…

    3 years ago

  • Posted a reply to "Lost code - whole site is gone", on the site WordPress Support Forums:
    Yes, I think so. You are basically trying to force WordPress to revert to the…

    3 years ago

  • Posted a reply to "Multi-directional array in custom post type?", on the site WordPress Support Forums:
    Yes, I'm sorry. The code below is the pertinent code from a function which is…

    3 years ago

  • Posted a reply to "Lost code - whole site is gone", on the site WordPress Support Forums:
    You will be locked out until you can access your WordPress files. FTP is a…

    3 years ago

  • Posted a reply to "Lost code - whole site is gone", on the site WordPress Support Forums:
    This can happen if a theme depends on something in a plugin, for example. You'll…

    3 years ago

  • Created a topic, Multi-directional array in custom post type?, on the site WordPress Support Forums

    3 years ago

  • Posted a reply to "Remove Home From Header Navigation", on the site WordPress Support Forums:
    No reason why this would necessarily work over setting to false, but any chance that…

    3 years ago