soapy

Member

Forum Replies Created

  • In reply to: Sharethis positioning

    #22308

    Thanks Josh…I was considering an action hook…but wanted to ask around before I started playing with it…thanks again.

    In reply to: Image Gallery

    #22236

    Ken, thank you as well!!!!!!!!!!!!!!!!!!!

    In reply to: Image Gallery

    #22235

    Thanks Josh….I did a search earlier….but I’m always curious as to what others are using and happy with….I will definitely check out WP Photo Albums Plus.

    Thanks again!

    In reply to: …… after excerpt

    #22131

    Josh,

    First, thanks for the reply.

    Second, I was actually going to try the same thing….problem is I found that the same CSS tag was being used for the continue reading button in posts…as well as the continue reading button in the category archives. I wasn’t able to modify the position of one without it affecting the position of the other….

    Maybe I need to take another look at it…I should maybe try and float it somehow so that it always appears at the end of the text instead of trying to position it so that it is always in the same spot….lower right hand corner of the post in my position…

    Better yet…if I could figure out a way to modify the CSS of the button that appears in posts without affecting the continue reading button in category archives….

    Anyways…thanks again for the reply Josh…

    In reply to: …… after excerpt

    #22129

    Just bumping this up to the top…could really use some help….

    Thanks

    In reply to: More Tag

    #19616

    Thank you very much Syahir

    In reply to: More Tag

    #19614

    LOL….I was a little premature there….because I’m getting the following error:

    Fatal error: Cannot redeclare graphene_filter_readmore() (previously declared in /home/delgreco/public_html/wp-content/themes/graphene-child/functions.php:15) in /home/delgreco/public_html/wp-content/themes/graphene-child/functions.php on line 38

    And here is my child theme functions.php:

    <?php
    function searchfilter($query) {

    if ($query->is_search) {
    $query->set('post_type',array('post'));
    }

    return $query;
    }
    add_filter('pre_get_posts','searchfilter');

    // Change "Continue Reading" link Button
    function graphene_filter_readmore( $translated, $original, $domain ) {
    $strings = array(
    'Continue reading »' => 'My New Text »',
    );
    if ( ! empty( $strings[$original] ) ) {
    $translations = &get_translations_for_domain( $domain );
    $translated = $translations->translate( $strings[$original] );
    }
    return $translated;
    }
    add_filter( 'gettext', 'graphene_filter_readmore', 10, 3 );

    // Change "Read the rest of this entry" link Button
    function graphene_filter_readmore( $translated, $original, $domain ) {
    $strings = array(
    'Read the rest of this entry »' => 'My New Text »',
    );
    if ( ! empty( $strings[$original] ) ) {
    $translations = &get_translations_for_domain( $domain );
    $translated = $translations->translate( $strings[$original] );
    }
    return $translated;
    }
    add_filter( 'gettext', 'graphene_filter_readmore', 10, 3 );

    ?>

    Any ideas??

    In reply to: More Tag

    #19613

    THANK YOU ALL!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    THIS IS REALLY APPRECIATED!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    In reply to: More Tag

    #19610

    Guys,

    Thanks for the answers….really appreciate it.

    On the graphene theme I see two buttons…there is the “continue reading>>” button….and there is also the “read the rest of this entry>>” button when using the “more” tag when writing a new post. I’m assuming this code will obviously allow me to change the “continue reading>>” button……would somone be able to provide me with the code that i could put in my child theme functions.php file that would allow me to change the “read the rest of this entry” button…..thanks very much again for the help!

    In reply to: More Tag

    #19604

    Nope….it doesn’t change anything unfortunately…..

Viewing 10 posts - 31 through 40 (of 84 total)