Jackson,
I appreciate you taking the time to help with this problem and the other problem i am having.
But i have one more dumb question for you. Which file should i insert this code into?
Depends on the theme, but likely in index.php – inside this div,
<div class="art-postheadericons art-metadata-icons"> right before the closing tag, and after the author link PHP code.
I can get that to work only if i am on the website and using firebug to enter it, but that only shows on my screen.. My index file only contains `<?php
get_header();
if (have_posts())
{
while (have_posts())
{
art_post();
}
art_page_navi();
} else {
art_not_found_msg();
}
get_footer();
sorry if i am being a pain
Looks like your theme uses a function called art_post to output the content, so you would need to edit that function which is defined somewhere within your theme files. Search your theme directory for ‘function art_post’ and you should be able to locate it. It’s specific to your theme, so you might try reaching out to the theme author if you run into trouble.
haha you are not going to believe this. I followed your input. found a file called Functions, that had the art_post function in it. after looking at it and inserting the code here and there, and then ftp the file to the site and still wouldn’t work!
So just to make sure i didn’t miss anything i downloaded a program to scan through all files in a folder for specific text. I searched for “author” and it found a bunch (as expected). But there was a config file. and it looked something like this:
[metadate]
..
.
….
….
header = “date,author,edit”;
footer =”category,tag,comments”;
…
…
So i figured i might as well try it before i come back here and bug you more, i added comments to the header section and it finally worked.
Thank you so much for your help on this
So
@dmhbeast Your theme code generated automatically by “Artisteer” generator. I didn’t know about art_ anything until yesterday some guy asked to find a bug in his theme. art_post() function had broken my brain 🙂
As I understand, Artisteer creates own layer of functions with art_ prefix. It reminds standard WP functions like art_get_post_thumbnail(). This code is very difficult to reading and editing.