A A A

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Custom Javascript
Jul 17, 2010
6:17 pm
Rookie
Forum Posts: 1
Member Since:
Jul 17, 2010
Offline

Hello. I am new to simple press and am currently trying to integrate the Deuces cracked poker hand converter tools with simple press.   While I have not found specific documentation for simple press, it seems I need to include a javascript file in simple press.  While I am sure I can hack my way into including a javascript file, I was unable to find anything on these forums or the wiki that tells me how to appropriately include a javascript file on my forums.  Can anyone point me in the right direction.

 

Thanks!

Jul 18, 2010
5:15 am

SP Master
Forum Posts: 22175
Member Since:
Nov 9, 2008
Offline

I would suggest you use the 'pluggable' code file option and add your script via a wp action like wp_head.

See our wiki for details of the pluggable file (Plugn API section).
if you need help with the WP action/filter interface see the WP codex, developers section, API.

Yellow Swordfish
Jul 18, 2010
2:50 pm
amoslieber
Guest

thank you

Forum Timezone: America/Chicago

Most Users Ever Online: 444

Currently Online: Jason Clark, Superfast
58 Guest(s)

Currently Browsing this Page:
1 Guest(s)

See All Online Activity

Top Posters:

-Radio-: 1251

Lee H: 606

Luffer: 535

Conrad_Farlow: 499

jim: 478

neon: 263

ovizii: 240

Tal: 240

Member Stats:

Guest Posters: 2624

Members: 7354

Moderators: 1

Admins: 2

Forum Stats:

Groups: 5

Forums: 16

Topics: 10876

Posts: 79446

Moderators: Brandon C (162)

Administrators: Yellow Swordfish (22175), Mr Papa (23688)