• How can i add custom html codes in all my post. i have more thank 500 post want to add same codes in all post
    thnaks

    • This topic was modified 2 years, 4 months ago by Jan Dembowski.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @khubaibch ,

    There is no direct way to add the same HTML codes to all of your posts without editing them one by one.

    The easiest way to do this would be to modify your templates. WordPress template sets should have a file named single.php (inside wp-content/themes/<theme name>). This is the page that gets rendered when you are viewing the page for a single post.

    You could edit this file and insert whatever you needed for the posts there.`

    Please note that editing core PHP files could break the site if something went wrong and the changes will be lost upon theme update. It’s best to use a child theme to make the changes.

    Thanks ??

    Thread Starter khubaibch

    (@khubaibch)

    thanks

    You are most welcome. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘add custom html add in all my post’ is closed to new replies.