Results 1 to 3 of 3
Sep 26, 2013, 11:00 #1
- Join Date
- Sep 2013
- 0 Post(s)
- 0 Thread(s)
How to change default "Portfolio" text to another text in Wordpress Editor
So, I am going to be as deep and thorough as possible.
I will also be uploading screenshots to make things easier for you great people.
So, here's the situation-
My website (Wordpress Based) has an option of adding "Portfolio" (located in the left bar in the admin area)
When I click on this tab, I get the following options:
I am able to achieve all in this section, now when I set up a Page and set the page template as a portfolio page, The webpage displays the following:
Header: "Whatever Name I Put as the Portfolio entry".
Below the header is a picture gallery.
On the Right of this image gallery is written "About Project" >>> I want to change the text from that to something else.
How would i go around that?
Beneath the About project is Project desc. Which again needs to be changed to something else.
Beneath is a CTA button, I would like to change the text on it as well.
So Far, I have been successful in changing the Similar Projects to Similar Cars - I did that with the help of the editor like this:
<div class="relatedProjects"> <div class="boxedTitle "><h4><?php _e('Related Projects','lioit');?></h4></div> <?php global $post; $projects = get_related_projects($post->ID); ?> <?php if($projects->have_posts()): ?>
How ever I am unable to find where the other 3 are in the code.
Help is highly appreciated!
Sep 26, 2013, 23:30 #2
If the texts aren't hard coded in the template, but taken from a language file, then maybe you could change the language file with an editor like poedit ?
Make sure to make a copy of the language file before you start editing... just in caseGuido - Community Team Leader
The 2013 SitePoint Awards - Nominate your heroes now!
Thinking Web: Voices of the Community
Blog - Free Flash Slideshow Widget
Sep 27, 2013, 09:51 #3
- Join Date
- Jul 2005
- West Springfield, Massachusetts
- 111 Post(s)
- 1 Thread(s)
Hi reyqaz, welcome to the forums,
Indeed, the gettext _e function call
i.e. use "Related Projects" or the translation found in "lioit" dependent on what Language is being used.
http://codex.wordpress.org/Translating_WordPress10 Rules for Driving Traffic Using Forums | Ultimate SEO Checklist
External links are nofollow
How to be a Great Online Community Member
Member of the Month for December 2013
Free SitePoint book - Thinking Web: Voices Of The Community
The 2013 SitePoint Awards - Nominations closed - Voting to begin soon
Introducing the new Code Review Forum