Fixed it already.
I moved the entire code between
and
to single.php and only left comments.php to handle the comment field.
Now I think about it, comments.php is a really weird place to put lay-out styles for share-links etc. Everybody else always puts it in the single.php.
Related Posts:
- Customize Theme comment template to Insert VoteUp and VoteDown buttons
- Appended comments but they show up above the content instead of below
- I don’t have comments.php… how do I customize my comment fields
- Closing Comments conditionally in comments.php
- Best Practice for PHP
- How to Add Image to WordPress RSS-Feed with no Plug-in?
- Adding “Remember Me” in custom login
- Where to get information about array fields in $_REQUEST?
- Is it safe to use $_SERVER[‘REQUEST_URI’]?
- Using wp_send_json to return HTML
- WordPress URL Rewrite not working
- WordPress Infinite Scroll without using any plugin
- Add post class to the TinyMCE iframe?
- Namespacing WordPress project according to FIG standards
- Admin Bar (Toolbar) not showing on custom PHP file that loads WordPress
- How to add query vars with paginated URLs?
- How to remove a metabox from menu editor page?
- Redirect to Page after Post Submit
- How will php 7 affect WordPress?
- How to change “Shipping Calculator “field label on Cart Page – woocommerce? [closed]
- How to Join two tables from separate databases within WordPress
- How to find objects by terms
- Bypass .htaccess when using download_url
- wp_remote_get returns an error for valid URL
- How to add active class to custom menu using while loop and wp_list_pages
- Install will not load: PHP does not have MYSQL installed
- Get list of WP Updates Across Sites
- Constructing a custom login form using ajax
- Error when requesting password reset email – wp authentication
- automated tests as a user?
- WordPress Wysiwyg Content not being displayed
- How to do conditional publishing?
- New Plugin Review
- Create custom blocks for bootstrap
- How to get the post_id from postmeta
- Problems with function on function.php
- Want to create Child theme, but already edited Parent theme css files and some php files
- Switching between custom templates in a post type of the admin menu
- Adding code to child theme functions.php to override parent theme behaviour doesn’t work
- How to retrieve the content (with a specific ID) via ajax by clicking a link tag
- How to add a custom id to each post URL in wordpress
- Anyone can register via backend
- WordPress: Remove link in the_tags
- How do I display the function the_content in this loop?
- How to get to a specific position in wp_query?
- Set WP_MAX_MEMORY_LIMIT higher than PHP.ini memory_limit
- Custom category code not showing all posts
- Custom Plugin For Converting CSV To MySQL
- Preferred Method of debugging a wordpress SQL calls?
- Displaying NextGen Gallery using value from meta not working
- WordPress does not load page.php, return 404.php
- Taxonomy linked to pages
- Checking for new message using AJAX and PHP. Server overload?
- WordPress Scheduled Event Request Blocking
- jQuery not defined
- dynamic page in WordPress
- How to use my style.css file outside of wordpress subdomain?
- Apache Fallback instead of add_rewrite_rule
- Correct folder permissions?
- Link posts to pages for breadcrumbs
- WordPress add post format support not working
- How to sort posts based on the value (number) of a post’s metadata?
- Pagination of custom mysql in wordpress
- Can I install/embed WordPress on a ‘single page’?
- Automatically create child pages and grandchild pages when saving a (parent) page
- WordPress wpform plugin submit and get multiple checked value from checkbox [closed]
- Pass Category Name, Description and Photo into variables to pass to jQuery
- How do I start using an external API and PHP for a WordPress.org page?
- Unread Repeater field IMG alt not working
- How to add an arrow to menu items has submenus
- Is it possible to create a wordpress database with php code?
- Script to browser problem PHP
- wp_nav_menu returns menu list in ascending order. How can I arrange the menu same as dashboard menu
- How can I add extra word in permalink when someone click download button?
- I want to load in a new class but only if the current page is single-movies.php
- wp query foreach deleting record returning only first or last item
- Customizer: Category Select Sanitize
- action theme mailchimp subscriber fields
- Trying to get a PHP variable defined in a custom post into a javascript file. Null value. Using wp_localize_script
- How to retrieve the sender email with wp_mail()?
- Why WordPress won’t update via VPN?
- Skt full width basic slideshow problem
- WordPress update_post_meta updating with empty meta_value field [closed]
- Create custom permalinks to show Custom Post Type’s relationship?
- conditional logic for front-end custom field edits
- How do I do so that people can register on my wordpress site?
- Custom taxonomy pagination shows 404
- duplicating page templates
- Upload multiple files via ajax from an HTML file input
- How to pass javascript var to php var
- running an existing WordPress site from Visual Studio Code?
- get_post_meta returns on side but it doesn’t return on bottom of admin page
- hide “Open in New Tab” checkbox in link field
- Side bar only if it’s not a single post or a specific page
- Check if User Meta has Existing Value
- Enabling pretty permalinks with Docker, Multisite WordPress and Caddy
- Running WP-Cron on Multisite networks the right way?
- Programmatically convert single classic block to individual blocks via PHP
- How can I cause run wp-cron to trigger sequentially?
- Get generated block styles programmatically