WordPress.org

Ready to get started?Download WordPress

Profiles

cykeltomte

Profile picture of cykeltomte
  • Member Since: July 1st, 2012
  • Posted a reply to "Pagination disfunction - Pages show the same posts", on the site WordPress Support Forums:
    Insted of query_posts( 'cat=-34,-35,-6,' ); try $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts( 'cat=-34,-35,-6&paged='…

    2 years ago

  • Posted a reply to "How to create a Password-Protected Website?", on the site WordPress Support Forums:
    You could check out this plugin http://www.volcanicpixels.com/password-protect-wordpress-plugin/

    2 years ago

  • Posted a reply to "Writing something in the loop after the first post", on the site WordPress Support Forums:
    Instead of <?php $a = $a++; ?> try <?php $a++; ?>, not sure if it…

    2 years ago

  • Posted a reply to "How to define a class to category AND subcategory", on the site WordPress Support Forums:
    Well, not sure if I really contributed with anything helpful, but I'm glad you solved…

    2 years ago

  • Posted a reply to "How to define a class to category AND subcategory", on the site WordPress Support Forums:
    Could you paste a link to your page.

    2 years ago

  • Posted a reply to "How to define a class to category AND subcategory", on the site WordPress Support Forums:
    Otherwise, maybe something like this could work: <?php $cat = get_query_var('cat'); $category = get_category($cat); $parent…

    2 years ago

  • Posted a reply to "How to define a class to category AND subcategory", on the site WordPress Support Forums:
    Try this: <?php $q_cat = get_query_var('cat'); $cat = get_category( $q_cat ); $parent_cat = $cat->category_parent; ?>…

    2 years ago

  • Posted a reply to "How to define a class to category AND subcategory", on the site WordPress Support Forums:
    There's a ; missing after the_category( ' / ' ). Could be what's causing the…

    2 years ago

  • Posted a reply to "How to define a class to category AND subcategory", on the site WordPress Support Forums:
    What I posted above gives you the ID of the subcategory, and placing it anywhere…

    2 years ago

  • Posted a reply to "How to define a class to category AND subcategory", on the site WordPress Support Forums:
    Do you mean the ID of the current subcategory? In that case maybe this will…

    2 years ago

  • Posted a reply to "How to define a class to category AND subcategory", on the site WordPress Support Forums:
    I might be wrong, but something like this may work: if (is_category('fruits') || cat_is_ancestor_of( 'fruits'…

    2 years ago

  • Posted a reply to "How to display earlier posts instead of latest posts", on the site WordPress Support Forums:
    You could try adding &orderby=rand, new WP_Query("cat=8&showposts=2&orderby=rand"); Never used it myself though, so not sure…

    2 years ago

  • Posted a reply to "How to display earlier posts instead of latest posts", on the site WordPress Support Forums:
    I guess what you want is to make an ascending list. Am I correct? You…

    2 years ago

  • Posted a reply to "Display comment count next to posts?", on the site WordPress Support Forums:
    Have you tried using just comments_number() ? http://codex.wordpress.org/Function_Reference/comments_number If I understand your question this could…

    2 years ago

  • Created a topic, [Plugin: Advanced AJAX Page Loader] Fix for meteor slide?, on the site WordPress Support Forums

    2 years ago

  • Posted a reply to "[Plugin: jQuery Collapse-O-Matic] Roll your own Elements ideas", on the site WordPress Support Forums:
    Couldn't find the answer to my question in any of the posts above, if it's…

    2 years ago

  • Created a topic, [Plugin: Meteor Slides] Get specific slideshow, on the site WordPress Support Forums

    2 years ago

  • Posted a reply to "Splitting loop into groups of three", on the site WordPress Support Forums:
    Ok, may have solved it: $content_array[] = apply_filters('the_content',get_the_content()); Would this work? EDIT: Seems like it…

    2 years ago

  • Posted a reply to "Splitting loop into groups of three", on the site WordPress Support Forums:
    Aha, so that's why my shortcodes doesn't work. Thank you, your'e a lifesaver! But, when…

    2 years ago

  • Posted a reply to "Splitting loop into groups of three", on the site WordPress Support Forums:
    OK, solved it by placing the_content() of every post in an array which is cleared…

    2 years ago

  • Posted a reply to "Splitting loop into groups of three", on the site WordPress Support Forums:
    Ah, thought somthing like that could solve it, just didn't know how to do it.…

    2 years ago

  • Created a topic, Splitting loop into groups of three, on the site WordPress Support Forums

    2 years ago

  • Posted a reply to "Adding css classes to menu items not working", on the site WordPress Support Forums:
    Solved it by adding this code to functions.php. add_filter('nav_menu_css_class' , 'special_nav_class' , 10 , 2);…

    2 years ago

  • Created a topic, Adding css classes to menu items not working, on the site WordPress Support Forums

    2 years ago

  • Posted a reply to "Where and how do I edit the template for this page?", on the site WordPress Support Forums:
    Thanks! Making i file called image.php did the trick :)

    2 years ago

  • Created a topic, Where and how do I edit the template for this page?, on the site WordPress Support Forums

    2 years ago