Source name / source url

Posted in: Newspaper
Post count: 15

Hi.

it’s possible to put more than one source name and source url on any posts?

Post count: 23312

Hello agente_smithx,

Yes, it is possible to put more than one source name and source URL on any posts, but it is necessary to alter the code in file core, td_module_single_base.php and td_set_post_settings.php.

Changes in td_module_single_base.php -> http://screencast.com/t/Kgs6QVGwRnQ
The part of code is here: http://pastebin.com/KMSn3yNc

Changes in td_set_post_settings.php -> http://screencast.com/t/i2PraxRJ
The part of code is here: http://pastebin.com/aHgkymUa

The result you should see here: http://screencast.com/t/lZtDZ5tI6Uhttp://screencast.com/t/gIp1QXdhy

Please follow the steps above and let us know how it goes! If you want to have more than two sources, you should multiply the code with copy/paste and rename the variables with $source_url3 , td_source_url3 , td_source3, … .

Hope this helps!

Thank you for the message!

Post count: 15

hi.

This solution it’s working awesome.

Post count: 23312

Hello agente_smithx,

Glad that i could helped!

Thank you for the message!

Post count: 103

I had this code and it worked fine, but with the theme update all was gone.

Can i add this somewhere else where it stays after an update? Child Theme for example?

Please help.

Post count: 23312

Hello,

All the files which can be overwritten in Child Theme can be found here -> https://forum.tagdiv.com/the-child-theme-support-tutorial/

Thanks for your understanding!

Post count: 103

Thanks!

Viewing 7 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic.