Support » Plugin: WP Idea Stream » Widget title name and size change?

  • Resolved bryanchin

    (@bryanchin)


    Hi,

    I have some enquiries about the changes:

    1) Widget title colour and font size? Eg. Change the title from “New idea” to “submit idea”

    2) Widget title colour and font size – Popular ideas, Top contributor and etc.

    3) Menu bar and Menu Title colour and font size?

    Thank you if you could provide some CSS code or any other advice.

    Bryan Chin

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Mathieu Viet

    (@imath)

    All this can be achieved by adding your custom css rules to the style.css file if tour theme.

    Thread Starter bryanchin

    (@bryanchin)

    Hi Imath,

    Can you give advice which file i can take a look and change the title from “New idea” to “submit idea”?

    I know that the style.css file only can change the colour and font size.

    Please advice.

    Thank you

    bryan Chin

    Plugin Author Mathieu Viet

    (@imath)

    OOps, sorry i missed that one.

    The best is probably to add a custom wp-idea-stream-en_US.mo file.

    Otherwise you can always use this filter:

    function bryanchin_submit_idea_title( $title, $context ) {
       if ( 'new-idea' !== $context ) {
         return $title;
       }
    
       return 'Submit Idea';
    }
    add_filter( 'wp_idea_stream_reset_post_title', 'bryanchin_submit_idea_title', 10, 2 );
    Thread Starter bryanchin

    (@bryanchin)

    Hi Imath,

    May i know which file should i input this code? sorry that i am not programmer background. can you give clearer instruction? Thank you.

    function bryanchin_submit_idea_title( $title, $context ) {
    if ( ‘new-idea’ !== $context ) {
    return $title;
    }

    return ‘Submit Idea’;
    }
    add_filter( ‘wp_idea_stream_reset_post_title’, ‘bryanchin_submit_idea_title’, 10, 2 );

    Plugin Author Mathieu Viet

    (@imath)

    Well you have 3 choices :

    1. Put it in the functions.php of the active theme
    2. Put it in any file inside the /wp-content/mu-plugins of your WordPress
    3. Put it in a wp-idea-stream-custom.php file at the root of your /wp-content/plugins of your WordPress. Read here for more infos about this last possibility.

    By the way, I need integration between mycred and ucenter, And I can pay for this work, are you interested in it?

    If yes, please write to me: alexlii1971, gmail.com, so that I can send you more information in details for your evaluation!

    Thanks again!

    Alex

    Plugin Author Mathieu Viet

    (@imath)

    Sorry, i don’t do custom work. WordPress is a hobby. I wish you the best for your project.

    Thread Starter bryanchin

    (@bryanchin)

    Hi Imath,

    Thanks for your reply. I have tried it and the title still the same ” new idea”. when i click on it then link me to “Submit Idea”. Can i change the “new idea” to submit idea in first page also.

    demo.theideashark.com

    function bryanchin_submit_idea_title( $title, $context ) {
       if ( 'new-idea' !== $context ) {
         return $title;
       }
    
       return 'Submit Idea';
    }
    add_filter( 'wp_idea_stream_reset_post_title', 'bryanchin_submit_idea_title', 10, 2 );

    by the way, if i want to create another website with different email address, can i amend the code? “bryanchin”? how does it works? can give some advice?

    Thank you so much if you could helps.

    Bryan Chin

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Widget title name and size change?’ is closed to new replies.