Good day.
URL: http://dominionlifecenter.org
I am looking for a way to change the text "Latest Message" into a link.
is there a way to do it in CSS.
Looking for best easy way.
Fahad Murtaza answers:
You can't edit the HTML?
Fahad Murtaza comments:
what exactly are you trying to achieve? What should it link to?
Thomas Fraley comments:
Well I can't find out where to edit it. to be honest.
The theme uses "latest message" as an option in its own menu. don't know enough about it to know what to edit
Thomas Fraley comments:
I want it linked to
http://dominionlifecenter.org/messagetypes/all-messages
this way I do not need to use a menu for it.
Fahad Murtaza comments:
OK please give me access to ftp and wordpress in a private message and I will look into it. Seems easy.
Thomas Fraley comments:
Sorry can't give out FTP information not my side to do so..
So basically the theme has an option menu. in its file admin-options.php
there is this call
$netstudio_options['terms'][] = array( "name" => "Latest Message:",
"desc" => "Term for latest message on frontpage",
"id" => $shortname."_sptlatest",
"std" => "Latest Message",
"type" => "text","options" => array(
"class" => ""));
Thomas Fraley comments:
or.. CSS file attributes..
.lasthead { text-shadow: 1.5px 0px black; font-weight: bold; font-size: 50px; padding-right: 20px; color: #86899c;float: left;padding-top: 20px;}
Giri answers:
Just change like this:
$netstudio_options['terms'][] = array( "name" => "Latest Message:",
"desc" => "Term for latest message on frontpage",
"id" => $shortname."_sptlatest",
"std" => "<a href='http://dominionlifecenter.org/messagetypes/all-messages'>Latest Message</a>",
"type" => "text","options" => array(
"class" => ""));
Giri comments:
Sorry
$netstudio_options['terms'][] = array( "name" => "<a href='http://dominionlifecenter.org/messagetypes/all-messages'>Latest Message</a>",
"desc" => "Term for latest message on frontpage",
"id" => $shortname."_sptlatest",
"std" => "Latest Message",
"type" => "text","options" => array(
"class" => ""));
Thomas Fraley comments:
no dice not working.
Giri comments:
Sorry i couldn't delete my second code. Use the first one. Thats is the right code i think. Because name doesn't contain link
Thomas Fraley comments:
nope still doesn't work.
It's live on the site now
Giri comments:
Hi can you do like this? Change the "Latest message" text to something else like "Latest messageX" and try it in browser. If you see don't see any changes then i think thats not the code we should modify.
MDan answers:
Hi Thomas,
If i understood well you want to turn the Latest Message text into a link?
In that case just replace:
<div class="lasthead">Latest Message</div>
with
<div class="lasthead"><a href="http://dominionlifecenter.org/messagetypes/all-messages">Latest Message</a></div>
on line 217 in your index.
Or you can send me ftp login details to set up myself.
Regards,
Daniel.
Thomas Fraley comments:
Daniel,
I understand what you getting at.
And if it was a straight site yha that would work.
Using firebug or something to find out is nice but not on a dynamic site like wordpress.
Hence my index file is only 104 lines the rest are dynamic entrys
Sébastien | French WordpressDesigner answers:
send me the folder of your theme at [email protected]
and i have an answer in 5 minuts