Is it possible to change the Text in the Spotlight of EcoPro to a Text or even the Name of the Article instead of the default text when my visitors are reading an Article? I'm not good at PHP, so pls help me.
Spotlight Article
Started by
silentdragon
, Jan 15 2012 03:58 PM
8 replies to this topic
#1
Posted 15 January 2012 - 03:58 PM
#2
Posted 15 January 2012 - 05:31 PM
Can you please post a link to your site?
#4
Posted 15 January 2012 - 07:34 PM
On the single post page, do you want to change the text "Home" to the post's title?
#5
Posted 15 January 2012 - 08:13 PM
Yes
#6
Posted 17 January 2012 - 04:42 AM
Where is the "Home" title being generated on your site?
#7
Posted 17 January 2012 - 06:04 AM
Question, if this is for EcoPro why are we in the free forum?
#8
Posted 17 January 2012 - 02:51 PM
It's because i got the Template from a Friend to customize it because he has absolutely no idea of any PHP or HTML (: (as you may have noticed, this is only a TestBlog for me and him to see what it would look like)
For the "Home" Text, i just changed this:
I already tried to make a seperate function for is_single, but it didn't work.
For the "Home" Text, i just changed this:
<?php elseif(is_home() || is_single()):?>
<?php
if(get_option('page_for_posts')){
echo get_the_title(get_option('page_for_posts'));
}else{
e_pagelines("blog_title_text",__('Home', TDOMAIN));
}
?>
I already tried to make a seperate function for is_single, but it didn't work.
#9
Posted 17 January 2012 - 03:11 PM
You are using a nulled copy of ecopro dev. Sorry we do not support pirated copies.
EcoPro dev can only be downloaded from your members section here, if you have an account.
If you previously paid for the theme, contact hello@pagelines.com to open a ticket.
This thread is closed.











