Support

BT Extended Featured post (13 posts)

Languages

de | fr | es | 日本語

About This Topic

Tags

  1. rss nberidze

    member


    rss Posted 8 months ago
    #

    Hi,

    Is it possible to vary the size of the featured image in the featured article-area? Alternatively, is it possible to show an image included in the post inside the featured article-area?

    Best,

    Nika

  2. rss milo

    moderator


    rss Posted 8 months ago
    #

    Post url
    post wp version
    post theme version

  3. rss nberidze

    member


    rss Posted 8 months ago
    #

    dfwatch.net
    WP 3.2.1
    BTextended 3.17.2

    -Nikoloz

  4. rss milo

    moderator


    rss Posted 8 months ago
    #

    Change featured image size in functions file at line 52 and following,
    to show an image inside the text of the featured area you have to change excerpt code (line 32)
    to <?php the_content(__('Read more'));?>.

  5. rss nberidze

    member


    rss Posted 8 months ago
    #

    Thanks.

    May I also ask about something else? On the front page, if some columns are left without widget, they show the latest posts. Is it possible to make them show posts only from one or a few categories? How to do this?

  6. rss nberidze

    member


    rss Posted 8 months ago
    #

    In bottom.php line 29 it should be middle-column5, not middle-column6, right?

    I didn't understand why inserting a widget in this space didn't prevent post listing, but changed from '6' to '5', and it worked.

  7. rss milo

    moderator


    rss Posted 8 months ago
    #

    Example loop for posts for category ID 8, for the current month:

    query_posts( $query_string . '&cat=8&monthnum=' . date( 'n', current_time( 'timestamp' ) ) );

  8. rss nberidze

    member


    rss Posted 8 months ago
    #

    Thank you.

  9. rss nberidze

    member


    rss Posted 7 months ago
    #

    I'm impressed by the elegance and functionality of your theme. Have made a few adjustments to it, based on our needs.

    I have one more question about the featured posts glider. I want an 'if' statement in line 34 in featured.php, where it says how many words' og excerpt to display. If there is a thumbnaiil (featured image), I want 30 words for instance, and if not, then 50 words. I am not php proficient, and if you know how to do this, I would be grateful.

  10. rss milo

    moderator


    rss Posted 7 months ago
    #

    NOTE: type the code, do NOT copy & paste

    <div class="hentry">
    <?php
    if(has_post_thumbnail()) :?>
    <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php $image = get_the_post_thumbnail($post->ID, 'browse'); ?><?php echo $image; ?><⁄a>
    <small><?php the_category(', ') ?><⁄small>
    <h2><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?><⁄a><⁄h2>
    <small><em>by<⁄em> <?php the_author_posts_link(); ?> | <?php the_time('M'); ?> <?php the_time('j'); ?><⁄small>
    <p><?php the_content_rss('', FALSE, ' ', 30); ?><⁄p>
    <?php else :?>
    <small><?php the_category(', ') ?><⁄small>
    <h2><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?><⁄a><⁄h2>
    <small><em>by<⁄em> <?php the_author_posts_link(); ?> | <?php the_time('M'); ?> <?php the_time('j'); ?><⁄small>
    <p><?php the_content_rss('', FALSE, ' ', 50); ?><⁄p>
    <?php endif;?>
    <div class="read"><a title="Read more here" href="<?php the_permalink() ?>">Read on <⁄a><⁄div>

    <⁄div>

  11. rss nberidze

    member


    rss Posted 7 months ago
    #

    Thank you very much. Great.

  12. rss nberidze

    member


    rss Posted 7 months ago
    #

    How about if I want the ability to go directly to reading a single post by clicking on the togglebox?

  13. rss milo

    moderator


    rss Posted 7 months ago
    #

    Slider will not work w/o togglebox posting.

Reply

You must log in to post.

Design by milo

Milo designs web sites that strike the perfect balance between professional high-class graphics, functionality, usability, user experience, and high performance.