Widget Question about WordPress

by 6 comments
Hi. I'm new to using WordPress. Is it possible to enter javascript
widget html code, on your main page between the <head> and the </head> tags
using WordPress ,or WordPress Editor? If so how could it be done?

#internet marketing #question #widget #wordpress
  • Profile picture of the author Ouroboros
    What exactly are you trying to do?

    A lot of widget code for advertising and opt-in forms can be placed in your sidebar in a text box. Stuff like google analytics can be added in the header and footer pages using the theme editor.

    Tell us what you're trying to do, there are a lot of people in here familiar with WP.

    • Profile picture of the author D555
      yes, I'm trying to find a way of adding a JargonFish Widget
      to the main page. The instructions given are extremely thin.
      All it says is:

      To add JargonFish widget to your blog, simply insert the widget code in between the 'HEAD' tags on your webpage.

      Copy the JavaScript code from the "Get Code" page and paste it between the <head></head> tags on the pages you wish to display the JargonFish widget.

      I don't know how WordPress would allow you to do this.

      I've use the Theme Editor to add a few things to the side bar, but I don't think
      the instructions are referring to the side bar they point to the <head> </head> tags.

  • Profile picture of the author TheNightOwl
    Hi there D555

    Jeff's right. You need to go into your Theme Editor and play with the header template. Quick tip: Do a CTR+A, CTR+C jobbie and paste the existing code into TextPad or Notepad or something (Not Word or OpenOffice; a text editor) before you tinker.

    That way, if something goes wrong you can always just copy the original code back in "as-was" while you try again and/or find a solution--and your blog won't be broken in the meantime.

    I only say this because I don't know from your post how familiar you are with coding generally or php specifically, but php can be really finicky and "picky". LOL! For example, even adding an extra space after the closing php tag can make it not work.

    (Not that I'm a coder, incidentally, I've just learnt this exact point the hard way; that's why I'm mentioning it here).

    Best of luck with it!

    P.S. Ha ha! Ouroboros posted while I was punching this out!

Next Topics on Trending Feed

  • 16 {{ upvoteCount | shortNum }} 5

    1. Lack Of Strategy Many of the tools available to Internet marketers are either cheap or free. As a result, many new marketers are tempted to use them all at once. Successful Internet marketers begin with a strategy that identifies the goals of a campaign, the target audience and other key planning elements. Only then do they choose their tactics. Remember: tactics without strategy is the noise before defeat.

  • 7 {{ upvoteCount | shortNum }} 5

    When people think of the term copywriter they will often imagine someone sitting at home or at a caf, tapping away at a laptop and churning out good copy for their immediate employer whether it be a one-off project or a long-standing relationship between a publication (online or print) and the copywriter. Now that might often be correct, but there are different types of copywriters out there. Lets have a look at the main types.

  • 13 {{ upvoteCount | shortNum }} 5

    After five years and almost one thousand projects, give it or take, I believe I have come up with a handful of more or less reliable signs that you're dealing with a bad client. I haven't reinvented the wheel, that's for sure. It's just like in that saying. Maybe I don't know what I want, but I certainly know what I don't want. The same goes here. Maybe I don't know how to find a good client, but I certainly know how to avoid a bad one. Also, I'm far from an ideal list. Sharing experiences regarding bad clients can help a lot. After all, we play in the same team. In addition, I strongly believe in Good Karma principle. Meaning, there's plenty of room and clients for everybody. Deal with real people not with avatars

  • 6 {{ upvoteCount | shortNum }} 5

    Hopefully someone can enlighten me on something that I'm confused about it. So when it comes to CPM, from an advertisers point-of-view, they pay for every 1,000 impressions of their ad. Now their ad is viewed on multiple sites. So let's say it's viewed 100 times on Site A, 200 times on site B, 300 times on site C, and 400 times on site D. Once that happens, the advertiser pays. Correct me if I'm wrong, but that is how that works? From the perspective of a publisher is where I'm more confused. So if I'm displaying CPM ads on my site, am I paid everytime the ad is viewed on my site or does the ad have to be displayed 1,000 times on my site before I get paid?