[NSFW] How to Move Tags on Modded Child Theme to the End of the Post
-
My functions.php file looks like this:
<?php add_action( 'wp_enqueue_scripts', 'enqueue_parent_styles' ); function enqueue_parent_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); } ?>
My styles.css file looks like this:
/* Theme Name: Twenty Sixteen Child Theme URI: *** Description: Child theme for the Twenty Sixteen theme Author: *** Author URI: *** Template: twentysixteen Version: 1.0 */ .single .post-thumbnail { display: none; } body:not(.search-results).single article:not(.sticky) .posted-on, body:not(.search-results) article:not(.type-page) .entry-footer .avatar { display: none; } .single .byline { margin-top: 15px; } .single .byline::before { content: "Posted by: "; } .single .tags-links::before { content: "Tags: "; } /* Single posts - make the layout use "flexbox" CSS technique so elements can be reordered */ .single .hentry { display: flex; flex-direction: row; flex-flow: row wrap; } /* Post excerpt - place third */ .entry-summary { order: 3; } /* Featured image - place second */ .post-thumbnail { order: 2; } /* Post content - place first */ .entry-content { order:1 }
I achieved some desired changes thanks to help I got earlier in this forum. However the Author and Tags still show up at the beginning (on top) of posts, not at the end. What do I have wrong that the tags show up on top?
Also, would it be possible to separate the Author/Tags are from the content of the post a little (at least one blank line), because right now they’re both pasted too close to each other.
The link is NSFW!
The page I need help with: [log in to see the link]
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘[NSFW] How to Move Tags on Modded Child Theme to the End of the Post’ is closed to new replies.