awlang
Forum Replies Created
-
I’ve achieved the fix after quite a lot of trial and error code editing in the child theme. For the record, the edit I made is on line 28 of the content.php file in the posts folder. The original line is:
echo twentyseventeen_time_link();
And this changed to:
echo twentyseventeen_posted_on();
Maybe this will be helpful to someone else in the future.
Thanks Kava, I have made a child them as you suggest and have opened the content.php file as directed, but I don’t have much experience of editing php. I’ll paste the original here, would you be able to tell me what the edit should be?
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php if ( is_sticky() && is_home() ) : echo twentyseventeen_get_svg( array( 'icon' => 'thumb-tack' ) ); endif; ?> <header class="entry-header"> <?php if ( 'post' === get_post_type() ) { echo '<div class="entry-meta">'; if ( is_single() ) { twentyseventeen_posted_on(); } else { echo twentyseventeen_time_link(); twentyseventeen_edit_link(); } echo '</div><!-- .entry-meta -->'; } if ( is_single() ) { the_title( '<h1 class="entry-title">', '</h1>' ); } elseif ( is_front_page() && is_home() ) { the_title( '<h3 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h3>' ); } else { the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' ); } ?> </header><!-- .entry-header --> <?php if ( '' !== get_the_post_thumbnail() && ! is_single() ) : ?> <div class="post-thumbnail"> <a href="<?php the_permalink(); ?>"> <?php the_post_thumbnail( 'twentyseventeen-featured-image' ); ?> </a> </div><!-- .post-thumbnail --> <?php endif; ?> <div class="entry-content"> <?php the_content( sprintf( /* translators: %s: Post title. Only visible to screen readers. */ __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'twentyseventeen' ), get_the_title() ) ); wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'twentyseventeen' ), 'after' => '</div>', 'link_before' => '<span class="page-number">', 'link_after' => '</span>', ) ); ?> </div><!-- .entry-content --> <?php if ( is_single() ) { twentyseventeen_entry_footer(); } ?> </article><!-- #post-<?php the_ID(); ?> -->
Forum: Fixing WordPress
In reply to: Author Display Twenty Seventeen posts pageThanks James, have done so. Please feel free to delete this thread and sorry for posting in the wrong section.
I’ve solved the issue, I needed to select ‘None’ on the lightbox option and it worked as expected.
Yes, thank you so much!
Thanks Mehdi,
I’ve had a look and bow see stats for 2014 to feb 2019 (it’s nice to have those back), but the important stats from 2019 to today are still missing, please see link below:
Andrew
Forum: Fixing WordPress
In reply to: Lost Jetpack statsThanks, I have done. Please feel free to delete this thread!
Forum: Themes and Templates
In reply to: [Esteem] Site logo linkMany thanks Milan, that’s worked a treat!
Andrew
Forum: Fixing WordPress
In reply to: Giving WordPress its own directory, now can't access siteOk, thanks again.
Forum: Fixing WordPress
In reply to: Giving WordPress its own directory, now can't access siteI’m getting in more of a mess now and am locked out of the site again.
I don’t understand why: the updated files (index.php and .htaccess) in the root directory are now correct, but the login doesn’t work and gives an error saying ‘the page doesn’t redirect properly’.
Is there anything I can do to get back to the admin panel?
Forum: Fixing WordPress
In reply to: Giving WordPress its own directory, now can't access siteThanks esmi. That was stupid of me.
I’ve amended the line in the index.php file now and the site sort of loads, but not properly. More importantly, I still can access the site admin part. I’m guessing I still need to update the permalinks to make the site work, but at the moment I can access the admin panel at all. Clicking on login generates an error.
Forum: Fixing WordPress
In reply to: Comments Closed in Atahualpa, can't turn them onGreat, that’s sorted it. And thanks for the thorough instructions – I hadn’t thought to look under ‘screen options’.
Andrew
Forum: Fixing WordPress
In reply to: Web links in 'recent comments'I understand the CSS, it’s where to find and edit it in the pages and pages of code which make up the site.
It also appears to me that the CSS code above would only change the appearance of the linked text rather than removing the web link itself.
Forum: Fixing WordPress
In reply to: Web links in 'recent comments'I wish I could do as you say, but am afraid that these instructions are beyond me… not sure where to start.
Forum: Fixing WordPress
In reply to: Web links in 'recent comments'Yes, I can see that’s one way of doing it, just wondering if the links can be turned off globally without deleting the link data from the comment post.