Questions to different topics

  • Sven

    #6547

    First of all, sorry for not being more specific with the topic as this due to several questions related to different topics.

    I am new to WP and by chance stumbled over your theme, which I have been falling in love. It’s exactly the theme allowing me an easy start with WP.

    In reagrds to my questions, I am familiar with CSS and HTML, but I am not with PHP. Although I am able to make my way through PH files.

    Here are my questions:

    1) the standard theme has the categories, the publisher and date at the same line. Either on the startsite with the article (post) snippet and the post itself. Everything one line below the title. What I like to change is the following: On the startpage, which acts as an overivew of the latest articles, I like to have the date appearing at the buttom of the snippet, and at the top on the article page itself. The publisher should dissapear. In the best case, I would like to see the categorie symbolised by as a small pic rather than a text.

    Here is how it looks on our current CMS

    forum.jpg

    2) I like to get rid of the “read more” button. Surely I can style it in all white and just the “read more” would appear, but I don’t think that’s a clear solution. So taken away the block-button, whith just the text to appear ( as well as in the comment section btw) would be nice.

    3) really like your slider. Nothing special but does its job. But how a) can I add a “read more” at the end of a snippet showing, and b) how can I apply any picture I want to a chosen article? Right now, I am able to allocate only one pic (via URL) for all articles appearing in the slider. Or I have the option the sliders picks the pic from the article. A solutrion which I totally dislake because it can lead to problems with the quality in pictures showing in the slider. And sometime I just want to apply a different pic in the slider as in the article.

    4) how can apply news of a certain categorie to a page via the TinyMCE? Any code snippet does the trick?

    Would appreciate any help.

    Mod

    Kenneth John Odle

    #34813

    You really should not ask multiple questions in the same thread, as it makes it difficult to respond to each question. Feel free to create a separate thread for each question. We really won’t mind. In fact, we prefer it.

    Anonymous

    #34814

    For your first question, add this to your child theme’s functions.php, anywhere between opening and closing php tags,

    function graphene_post_date( $style = 'icon' ){
    global $graphene_settings;

    if (is_home() || is_archive()) :
    return;
    endif;

    if ( $style == 'icon' ) :
    ?>
    <div class="date updated alpha <?php if ( $graphene_settings['post_date_display'] == 'icon_plus_year' ) echo 'with-year'; ?>">
    <span class="value-title" title="<?php the_time( 'Y-m-dTH:i' ); ?>" />
    <p class="default_date">
    <span class="month"><?php the_time( 'M' ); ?></span>
    <span class="day"><?php the_time( 'd' ) ?></span>
    <?php if ( $graphene_settings['post_date_display'] == 'icon_plus_year' ) : ?>
    <span class="year"><?php the_time( 'Y' ); ?></span>
    <?php endif; ?>
    </p>
    <?php do_action( 'graphene_post_date' ); ?>
    </div>
    <?php
    endif;

    if ( $style == 'inline' ) :
    ?>
    <p class="post-date-inline updated">
    <span class="value-title" title="<?php the_time( 'Y-m-dTH:i' ); ?>"></span>
    <abbr class="published" title="<?php the_date( 'c' ); ?>"><?php the_time( get_option( 'date_format' ) ); ?></abbr>
    <?php do_action( 'graphene_post_date' ); ?>
    </p>
    <?php
    endif;
    }

    function my_post_date_on_home() {
    ?>
    <p class="post-date-inline updated">
    <span class="value-title" title="<?php the_time( 'Y-m-dTH:i' ); ?>"></span>
    <abbr class="published" title="<?php the_date( 'c' ); ?>"><?php the_time( get_option( 'date_format' ) ); ?></abbr>
    </p>
    ?>
    }
    add_action('graphene_post_footer','my_post_date_on_home');

    2. read more link without block-button

    function graphene_continue_reading_link() {
    global $graphene_in_slider;
    if (!is_page() && !$graphene_in_slider) {
    $more_link_text = __( 'Continue reading »', 'graphene' );
    return '</p><p><a class="more-link" href="'.get_permalink().'">'.$more_link_text.'</a>';
    }
    }

    You are asking for too many things in one post. It is really hard to go through all these questions. Create a separate topic for each question. Some of the questions are beyond the scope of this forum. Volunteers may help you to fix a few things or guide you in the right direction. But may not to customize your whole site!

    Sven

    #34815

    Thank you very much for your kind reply. I will open two new posts for the remaining topics.

    ohiowomeninc

    #34816

    I’m sorry to ask, but where do you write a question? S

    Mod

    Kenneth John Odle

    #34817

    Click on the “Add New” link at the top of the list of topics.

Viewing 6 posts - 1 through 6 (of 6 total)

  • You must be logged in to reply to this topic.