single.php template

Posted in: Newspaper
Post count: 9

Hello,
I’m trying to change the way the breadcrumps div is being rendered on post pages (theme Newspaper X). I wanted to modify the single.php file (and move it to the child folder), however it doesn’t seem to be working. The changes put into the file do not work and even placing the single.php file (taken from the theme’s main folder) seems to be breaking the site by changing the way the default template is being shown (sidebar disappears – the sidebar is defined in the theme’s settings as the ‘default sidebar’)
Please help
Adam

Post count: 35449

Hi,

if you want to change the default post template then you need to copy the files -> https://i.imgur.com/X19arG2.png from -> wp-content/plugins/td-composer/legacy/Newspaper/single.php
wp-content/plugins/td-composer/legacy/Newspaper/loop-single.php and set theme in child theme, then the changes should work!

Thank you!

Post count: 9

thank you, Calin!
so the single.php file from the /legacy/Newspaper folder should be placed directly into the child theme folder (with no additional subfolders in it)?

Post count: 35449

Hi,
If you want to set the files for default post template, then yes, these need to be set directly in the child theme directory, only the single post templates 1, 2, 3 … 13 need to be set in additional subfolders because these need to have the same structure as here -> https://i.imgur.com/iBa1uUn.png -> /Newspaper/parts/single/loop-single-1.php therefore in child theme will be /Newspaper-child/parts/single/loop-single-1.php
Thank you!

Post count: 9

OK. Thank you!

Another question: when placing a link (straight url with no linking whatsoever) into a post editing window (graphic or text, it doesn’t matter), the outcome on the front-end is this link being transformed into a… blocckquote. It used to be visible as a linked post preview. Now it’s a blockquote. On the back-end nothing changes, the link is still visible as an unlinked text. What happened and how to fix it?

Post count: 18283

Hello !

Can you send us a screenshot or a link to a post where the link is rendered?

Thank you !

Post count: 9

Sure!
Here they are: front-end and back-end:
https://imgur.com/a/PRLhfk6

Post count: 18283

Hello !

Please contact us via email at contact@tagdiv.com and provide the following:

– admin url and credentials
– cPanel url and credentials
– A link to this topic in order to identify you

Our team will take a look !

Thank you !

Viewing 8 posts - 1 through 8 (of 8 total)
The forum ‘Newspaper’ is closed to new topics and replies.