Go Back   5 Star Affiliate Marketing Forums > SEO, Blogging & Internet Marketing Forums > RSS Marketing & Blogging Forums

RSS Marketing & Blogging Forums Bloggers ask your blogging questions here

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 10-19-2006, 06:29 AM
stylemangi's Avatar
stylemangi stylemangi is offline
5 Star Member
 
Join Date: Oct 2006
Location: Australia
Posts: 14
Default Wordpress & Java Script

Hi All,

I am looking to build a dedicated affiliate web site using wordpress as my cms. The merchant uses java script code which is to be insterted into the page before the tag, and you insert the following code to set where you wish the advert to appear...

I'm hoping to use wordpress to post articles etc and take advantage of its' natural seo' ness.

Problem is that is not easy to post java script in a wordpress post. It gets stripped out.

Does anyone have any sugegstions about how to easily implement this in wordpress?

Alternatively should I just build static html pages to host the merchants products and skin a blog to look the same?

Thanks in advance
Reply With Quote
  #2 (permalink)  
Old 10-19-2006, 10:31 AM
Linda Buquet's Avatar
Linda Buquet Linda Buquet is online now
5 Star President & Community Leader
 
Join Date: Jun 2005
Location: Sun Diego
Posts: 7,474
Default

Hi stylemangi,

I've used Java in my WP blogs in the side bar. Never tried to in an actual post.
But with WP you can also create pages which I think are just plain HTML pages.
The advantage to the pages is they will automatically match the rest of the blog based site.

For instance this is a PAGE from my blog:
http://affiliate-blogs.5staraffiliat...rcentric-blog/

I have a plug-in that displays another affiliate blog on this page, but I could also add Adsense or YPN with ic Javascript.

Scroll down on my sidebar til you see Recent Referrers:
http://affiliate-blogs.5staraffiliateprograms.com/

That's generated with Java too.

Hope this helps and best of luck!
__________________
Your Partner in Success,

Linda Buquet :: Affiliate Program Advertising, Promotion & PR (Publisher Relations)

The free forum support we provide is made possible by all the 5 Star programs at the
top of the right sidebar & in the directory below. Please visit & support our merchants.


5 Star Affiliate Blog
:: 5 Star Affiliate Programs Directory

5 Star Affiliate Marketing Blog
Reply With Quote
  #3 (permalink)  
Old 10-30-2006, 01:22 PM
StephenR's Avatar
StephenR StephenR is offline
5 Star Senior Member
 
Join Date: Jun 2005
Location: USA
Posts: 402
Default

Go to your dashboard. Click on "Presentation". Click on "Theme Editor". Click the template you want to change. Should be labled "Main Index Template" or"Index Template". In order to modify any of thee files within WordPress you must CHMOD the files to 666.

If you're going to deploy a lot of blogs I highly recommend you pick up a copy of the Semiologic Pro WordPress CMS (http://www.semiologic.com/solutions/sem-theme-pro/). It's what most of the internet marketing community uses nowadays for setting up mass SEO'd blogs with a slew of plugins to make deployments a snap.

My Free Advertising Blog in my signature uses this CMS.
__________________
Stephen "Josh" Ralph
Top Affiliate Directory
Free Advertising
Reply With Quote
  #4 (permalink)  
Old 11-10-2006, 05:33 PM
Teli's Avatar
Teli Teli is offline
5 Star Senior Member
 
Join Date: Nov 2005
Location: Florida
Posts: 385
Default

Hi stylemangi,
You're right in that WP will strip any code from a post that could be potentially harmful to the system (i.e. Javascript/PHP). This is done regardless of whether it's just a post entry or a page.

[sidenote]Linda, the WP pages - though they look similar to static HTML pages - are actually created on the fly like the post entries. The main difference is that a page will not be included in the chronological listing of the entries or in the feed.[/sidenote]

There is a plugin I know of that allows you to add blocks of code to blog entries and may be able to work for javascript, but I'm curious to know how this javascript will display. The javascript is just a single item javascript, or will it be displaying multiple products, or is it configurable somehow?

The reason I bring it up is because the last thing you would want is the entire inventory of products in a single WordPress entry. It defeats the purpose and doesn't take full advantage of WordPress' natural "seo-ness".

In any event, Wayne outlines a way to add Javascript using his AdSense Deluxe plugin (which can be used for far more than AdSense).

Hope that helps out and good luck!

~ Teli
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -7. The time now is 11:51 PM.

Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2007, Crawlability, Inc.
©2005 - 2008 Linda Buquet - 5 Star Affiliate Programs