Hi there,
I am creating my first site with wordpress using On-line Marketer theme.
I wish to build it more like a web site than a blog and I would like to remove from pages and articles "posted by" "on".
Can you tell me how to delete them?
Hi there,
I am creating my first site with wordpress using On-line Marketer theme.
I wish to build it more like a web site than a blog and I would like to remove from pages and articles "posted by" "on".
Can you tell me how to delete them?
Look for <?php the_author_posts_link(); ?>
In which Page pls. ? I looked in index.php page.php single.php I can't find it.
Thanks
This is what I could find in the funciotns.php template
<?php comment_author_link(); ?>
Might this be the one??
Thanks to let me know
the theme seems to be cloned on Twenty Eleven;
for index posts, see content.php, for single posts see content-single.php:
<div class="entry-meta meta">
<?php onlinemarketer_posted_on(); ?>
</div><!-- .entry-meta -->
to get rid of the full 'posted on' line, remove this whole section;
or goto functions.php and find this function from line 235, starting with:
function onlinemarketer_posted_on() {
you can remove from that function what you don't want.
Thanks a lot I will try
I found the function you mentioned I hope so ! I need to remove "Posted on" and " by "
function onlinemarketer_posted_on() {
printf( __( '<span class="sep">Posted on </span><time class="entry-date" datetime="%3$s" pubdate>%4$s</time><span class="byline"> <span class="sep"> by </span> <span class="author vcard">%7$s</span></span>', 'online-marketer' ),
esc_url( get_permalink() ),
esc_attr( get_the_time() ),
esc_attr( get_the_date( 'c' ) ),
esc_html( get_the_date() ),
esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
esc_attr( sprintf( __( 'View all posts by %s', 'online-marketer' ), get_the_author() ) ),
esc_html( get_the_author() )
Great I did it !!! thanks thanks a lot your help has been great ! Now it works !
You must log in to post.