WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Raindrops Theme: Remove This entry was posted in: (5 posts)

  1. dfgutzman
    Member
    Posted 2 years ago #

    I am using the Raindrops theme. After each post, I get the following:

    "This entry was posted in xxxxxx Bookmarks the permalink"

    I would like to remove this functionality..

    If you could tell me where I need to go and what I need to change, I would greatly appreciate it.

  2. dfgutzman
    Member
    Posted 2 years ago #

    Has anyone had a chance to look at this?

  3. nobita
    Member
    Posted 2 years ago #

    Hi dfgutzman

    Please open the file raindrops/functions.php

    find function below.

    /**
     * Template function posted in
     *
     *
     *
     * loop.php
     *
     */
        if (!function_exists('raindrops_posted_in')) {
            function raindrops_posted_in() {
                // Retrieves tag list of current post, separated by commas.
                .......
                // Prints the string, replacing the placeholders.
                printf(
                    $posted_in,
                    get_the_category_list( ', ' ),
                    $tag_list,
                    get_permalink(),
                    the_title_attribute( 'echo=0' )
                );
            }
        }

    and comment out like this

    /*      printf(
                    $posted_in,
                    get_the_category_list( ', ' ),
                    $tag_list,
                    get_permalink(),
                    the_title_attribute( 'echo=0' )
                );*/

    I am sorry to be poor at English.

    Thank you.

  4. dfgutzman
    Member
    Posted 2 years ago #

    Thank You..This worked perfectly. This question can not be closed.

  5. tomasir
    Member
    Posted 2 years ago #

    Hello,

    I tried to do the same. But unfortunately unsuccesfully :(

    I earlier remove part "Bookmarks the permalink". Now I tried from my forum remove: "Posted on by tomasir " which I see on my web: http://www.meteoryty.org

    I found:

    /**
    * Echo posted in block
    *
    *
    * loop.php
    *
    */
    if (!function_exists('raindrops_posted_in')) {
    function raindrops_posted_in() {
    // Retrieves tag list of current post, separated by commas.
    $tag_list = get_the_tag_list( '', ', ' );
    if ( $tag_list ) {
    $posted_in = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the permalink.', 'Raindrops' );
    } elseif ( is_object_in_taxonomy( get_post_type(), 'category' ) ) {
    $posted_in = __( 'This entry was posted in %1$s. Bookmark the permalink.', 'Raindrops' );
    } else {
    $posted_in = __( 'Bookmark the permalink.', 'Raindrops' );
    }

    // Prints the string, replacing the placeholders.
    printf(
    $posted_in,
    get_the_category_list( ', ' ),
    $tag_list,
    the_title_attribute( 'echo=0' )
    );
    }
    }

    And removing all - causes that I see only one news on my page. Removing:

    $tag_list = get_the_tag_list( '', ', ' );
    if ( $tag_list ) {
    $posted_in = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the permalink.', 'Raindrops' );
    } elseif ( is_object_in_taxonomy( get_post_type(), 'category' ) ) {
    $posted_in = __( 'This entry was posted in %1$s. Bookmark the permalink.', 'Raindrops' );
    } else {
    $posted_in = __( 'Bookmark the permalink.', 'Raindrops' );
    }

    causes, that I see nothing.

    The second part:

    /* printf(
    $posted_in,
    get_the_category_list( ', ' ),
    $tag_list,
    get_permalink(),
    the_title_attribute( 'echo=0' )
    );*/

    I didn't manage to find anywhere :(

    Hoping for your help

Topic Closed

This topic has been closed to new replies.

About this Topic