Jump to content


Photo

Spotlight Article


  • Please log in to reply
8 replies to this topic

#1 silentdragon

silentdragon

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 15 January 2012 - 03:58 PM

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.

#2 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 15 January 2012 - 05:31 PM

Can you please post a link to your site?

#3 silentdragon

silentdragon

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 15 January 2012 - 07:13 PM

It's my Test-Page: http://testwp.silentnet.de/

#4 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

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 silentdragon

silentdragon

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 15 January 2012 - 08:13 PM

Yes

#6 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 17 January 2012 - 04:42 AM

Where is the "Home" title being generated on your site?

#7 arpowers

arpowers

    Founder

  • Administrators
  • 3252 posts
  • LocationSan Francisco, CA
  • Framework Version:2.3
  • Country: Country Flag

Posted 17 January 2012 - 06:04 AM

Question, if this is for EcoPro why are we in the free forum?

#8 silentdragon

silentdragon

    Newbie

  • Members
  • Pip
  • 8 posts

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:
 <?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 Simon_P

Simon_P

    Messer

  • Administrators
  • 8388607 posts
  • LocationDevon
  • Framework Version:2.0
  • Country: Country Flag

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.