krtek
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Vuln!! Path it now!!Okay, thanks.
*Solved*
Sorry my bad. I did not set the ownership of *all* files at www-content to the PHP user (www-data).
Feel free to delete this post. I leave it here, if someone may have the same problem.Forum: Fixing WordPress
In reply to: meta-entry on pages for google AuthorshipThanks Peter,
your theory works like a charm. And it is more elegant then mine.
One issue still remains:
The date that is displayed isn’t the date the page/post was last updated. It is rather the date that the page was created. So how can I get the right date displayed when the page was updated.
I think I have to open a new thread.Thanks again, good job.
krtekForum: Fixing WordPress
In reply to: meta-entry on pages for google AuthorshipHi,
yes I thought about this also, but didn’t try it because I wasn’t shure about the syntax. (I think I’ll give it a try and report back.)
I also found a solution in the meantime:
On page.php at <footer class=”entry-meta”> in my child-theme I added:
<?php twentythirteen_entry_date(); ?> <?php printf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s" rel="author">%3$s</a></span>', esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_attr( sprintf( __( 'View all posts by %s', 'twentythirteen' ), get_the_author() ) ), 'By ' . get_the_author_meta('first_name') . ' ' . get_the_author_meta('last_name') ); ?>Not that elegant but it works. I think this issue is solved.