_bldavis
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Calendar - Google Calendar Plugin] Update not showing event titlesUpdate: Nevermind my message below. It’s working. Thanks again for your quick response. Truly appreciated!
—–
Thanks. Still rendering as “1”. I see the update you just pushed through. I updated. Says I’m running Version 3.4.7.
The Pro Version (which we’re not using) is stuck on “There is a new version of Simple Calendar – Google Calendar Pro Add-on available. View version 1.3.6 details or update now.”. I’ve tried updating it numerous times.
Thanks for your help!
- This reply was modified 1 year, 6 months ago by _bldavis.
Forum: Themes and Templates
In reply to: [Editor] where are entry-meta functions defined?Perfect. Thanks for the reply. That got it on the prent theme, but not on my child theme.
For making these changes permanent in a child theme, do I create the templates-tags file inside an “inc” folder in my child theme? Or can I just add the file to my root child theme folder?
Thanks again!
Forum: Themes and Templates
In reply to: [Editor] where are entry-meta functions defined?Hello. I have the same question as alitscha above. However, I can’t seem to get the changes to work. I would like to add “Posted on” in from of the date but can’t seem to get it to work. I’ve tried editing the following code by adding “Posted on” in front of the line beginning with printf( __( :
function editor_posted_on() { $time_string = '<time class="entry-date published" datetime="%1$s">%2$s</time>'; if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) { $time_string .= '<time class="updated" datetime="%3$s">%4$s</time>'; } $time_string = sprintf( $time_string, esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ), esc_attr( get_the_modified_date( 'c' ) ), esc_html( get_the_modified_date() ) ); printf( __( 'Posted on <span class="posted-on">%1$s</span><span class="byline"> by </span> %2$s', 'editor' ), sprintf( '<a href="%1$s" rel="bookmark">%2$s</a>', esc_url( get_permalink() ), $time_string ), sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s">%2$s</a></span>', esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_html( get_the_author() ) ) ); } endif;What am I missing here?
Thanks in advance!