babrees

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 64 total)
  • Author
    Posts
  • in reply to: snippet for functions.php to show category name #138242

    babrees
    Participant

    Just a small update for anybody else who might want this. You need to use before_loop, not before_content.

    in reply to: snippet for functions.php to show category name #137641

    babrees
    Participant

    YES! BRILLIANT!

    Thank you so much Ren, I appreciate your help!

    I LOVE learning something new :D

    Cheers
    Jill

    in reply to: snippet for functions.php to show category name #137638

    babrees
    Participant

    OK, I’ve changed the is_category line to: if ( is_tax( ‘judges’ ) )

    That works but I can’t get it working with is_category and the default categories don’t work with is_tax!

    I’m stumbling a bit in the dark here.

    Would you be able to help me with adding something like the following?

    if ( is_tax( ‘judges’ ) )
    AND
    if (is_cat)

    • This reply was modified 4 months, 1 week ago by  babrees.
    • This reply was modified 4 months, 1 week ago by  babrees.
    in reply to: snippet for functions.php to show category name #137637

    babrees
    Participant

    Hi Ren! Thanks again!

    I changed the before_content to before_entry – that works :) At the moment, the site is in early stages of development and you won’t see anything different to the magazine-pro theme at the front end.

    It is a custom taxonomy – category type. Not sure how else to describe it! In admin area, yes, it comes under posts in its own right and I add normal posts to it and it behaves like a category. However, your snippet on works for the default categories, NOT the custom one.

    in reply to: snippet for functions.php to show category name #137633

    babrees
    Participant

    Hi Ren. Thanks!

    It does add the category but puts it in the sidebar and with no formatting. I can easily do the formatting by adding divs but how to ensure it goes in the content area, not the sidebar?

    Also, can you help with doing that for a custom category type, called “Judges” ?

    :D

    in reply to: customise categories #137152

    babrees
    Participant

    Thanks Brad, but sadly that hasn’t worked. I have since added remove meta and info to the functions file, so changed the category.php to the following, but that still isn’t working.

    <?php
    // Remove content, post-info, and post-meta
    remove_action(‘genesis_entry_content’, ‘genesis_do_entry_content’);
    require_once(PARENT_DIR . ‘/index.php’);
    ?>

    What I am trying to do is, in the categories display the post image and title only and in columns. This is the original site I am trying to update: http://www.witchgait.co.uk/category/my-shar-pei/rainbow-bridge/

    Here is the new site so far: http://www.witchgait.co.uk/wordpress/category/my-shar-pei/rainbow-bridge/

    As well as the above category.php I have the following css, putting it into columns on the original site, but doesn’t work in the new site:

    body.category #content .post {
    /* add styles to float each .post div and make into columns */
    float:left;
    width: 185px;
    height: 210px;
    padding: 15px;
    margin: 6px;
    font-size:10px;
    text-align:center !important;
    line-height:normal;
    border: 1px solid #9CBDDE;
    }

    in reply to: Remove post title on specific custom type only #135646

    babrees
    Participant

    Thanks to Brad – after much searching on Google finally came across the answer on his site! :D

    in reply to: New way of displaying add header, etc in admin #135485

    babrees
    Participant

    what a bummer! Thanks :(

    Guess I shall go back to doing it all in the stylesheet!

    • This reply was modified 5 months ago by  babrees.
    • This reply was modified 5 months ago by  babrees.

    babrees
    Participant

    Thanks for this – just what I was looking for, works a treat!

    in reply to: Home Page widgets #132088

    babrees
    Participant

    ok, I think it’s because there’s something in the centric theme that is over-riding it. Guess I’ll just have to start a theme from scratch!

    in reply to: Home Page widgets #132075

    babrees
    Participant

    Thanks Lauren, but that snippet is already in the front-page. I am using the default front-page of News-Pro.

    in reply to: Featured image only in blog archives #129068

    babrees
    Participant

    Thanks, but not quite what I was after. I want featured image thumbnails to show on one specific category/archive only (not on all single posts).

    Using what you posted I came up with the following, but it doesn’t work. Any ideas?

    /** Add Featured Image to Posts – the Webonanza style */
    add_action( ‘genesis_before_loop’, ‘add_thumbnail_archives_specific_category’ );
    function add_thumbnail_archives_specific_category() {

    if ( ! is_category( ‘blog’ ) ) { // enter your category slug here
    genesis_image( array( ‘size’ => ‘post-thumbnail’, ‘attr’ => array( ‘class’ => ‘alignright post-image’ ) ) );
    }


    babrees
    Participant

    strange, I have used that plugin many times with StudioPress and never had a problem. Can’t see the problem as your site requires a password.

    in reply to: Content Archives Display #123324

    babrees
    Participant

    Perfect! Thanks Sridhar

    in reply to: Genesis Responsive Slider Image size #108506

    babrees
    Participant

    Solved this when I added a new post and uploaded a new image – I found that the new post and image displayed perfectly in the slide show!

    So even though I had used the regenerate plugin that didn’t work for the slider. I simply deleted the images of the older posts and reuploaded them – voila!

Viewing 15 posts - 1 through 15 (of 64 total)