All this can be achieved by adding your custom css rules to the style.css file if tour theme.
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
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 );
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 );
Well you have 3 choices :
- Put it in the functions.php of the active theme
- Put it in any file inside the /wp-content/mu-plugins of your WordPress
- 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
Sorry, i don’t do custom work. WordPress is a hobby. I wish you the best for your project.
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