How to access theme template such as single-post.php

Hi there !
hope you’re doing well.

i want to add google adsense code specially for inside posts or articles.
this should be done through single-post.php to be one time generated.

or the other way - is to post the code through post editor (but not figure out the both ways)

how to access single-post.php to add google adsense code
how to add the code inside the post editor - there’ no add for java script add

thanks

Hi there,

You can find the file when you login through FTP and go to \wp-content\themes\x\framework\views\YOUR STACK\wp-single.php.

Please make sure to use a child theme to override the wp-single.php file.

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.