Insert custom fields in posts (single.php)

Posted in: Newsmag
Post count: 9

Hi there! Great Theme, its beautiful and loads super fast!

My client needs me to change some stuff. We need to add an image at the left of the title, and add some custom fields below it. I tryed to change stuff in loop-single.php, but the changes are not reflected.

Can you point me in the right direction?

Thanks a lot

Post count: 35449

Hi,
Thanks for your compliments!
If you are using a specific post templates, then you need to edit the file for that post template. For example if is post template 1, then the files will be wp-content/plugins/td-composer/legacy/Newsmag/parts/single/loop-single-1.php and single_template_1.php
Now if is the default post template, the files will be located on this path wp-content/plugins/td-composer/legacy/Newsmag/loop-single.php and single.php
I hope this will help you!

Post count: 9

Yes, great, it worked! Awesome support :).

Best,
Cecilia

Post count: 9

About this one. my custom fields looks great in desktop view. Now i need to show them in the mobile theme, is that possible? I need them right after the post title.

Thanks!

Post count: 35449

Hi,
If you are using the responsive version and not the mobile theme, then those changes that you’ve made should also apply on mobile.
In case that you are using the mobile theme plugin, then you’ll need to edit those files too -> wp-content/plugins/td-composer/mobile/single.php and wp-content/plugins/td-composer/mobile/loop.php
I hope this will help!

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