help me pls with a code inserting issue

by Nelson Felix Banned
4 replies
I got a content block code and they need me to insert it between <head>

but I use wordpress, when I create a post, all content should be written in <body>, so how should I do?

Thanks
Ted
#code #inserting #issue #pls
  • Profile picture of the author Laura B
    Go to Appearance > Theme Editor and look for header.php.
    Signature
    Free ebook: Affiliate Marketing: Just the FAQs
    Affiliate marketing for brand spankin' newbies
    {{ DiscussionBoard.errors[3390943].message }}
    • Profile picture of the author TZ
      Originally Posted by Laura B View Post

      Go to Appearance > Theme Editor and look for header.php.
      Before you do that - download your header.php file from the theme you are tweaking. Backup....especially if you have prior mods coded in.
      Signature

      $php_coding = "consistent cash";

      echo ("Give me" . " " . $php_coding . "!");

      {{ DiscussionBoard.errors[3390959].message }}
  • Profile picture of the author Nelson Felix
    Banned
    thanks, but i just want my specific post to use the code not all pages...
    {{ DiscussionBoard.errors[3390962].message }}
    • Profile picture of the author TZ
      Originally Posted by 92 View Post

      thanks, but i just want my specific post to use the code not all pages...
      Now you need a is_single() conditional command written to make the code play only when your single.php is used.

      Conditional Tags « WordPress Codex
      Signature

      $php_coding = "consistent cash";

      echo ("Give me" . " " . $php_coding . "!");

      {{ DiscussionBoard.errors[3390987].message }}

Trending Topics