Current User: Guest
Please consider registering

 
Search Forums:


 




Disabling AWP on specific pages

Post

narnigrin - Guest

9:05 pm - April 9, 2009

 
1

Hello,
Is it possible to disable AWP on specific pages or in specific page templates? The main idea is, if I know beforehand that it won't be used, it seems rather unnecessary to load all the scripts etc.

If this would be possible to achieve through only editing the templates or through some admin setting that I haven't noticed, that would be brilliant, but editing the plugin files would be fine too.

An unrelated (and less important) question is why there are six &nbsp's inserted after the Read more links when using Inline pages? It's after the end tag for the paragraph too, so it basically adds another line to the end of that post, for no obvious reason.

narnigrin - Guest

9:07 pm - April 9, 2009

 
2

I meant 'Inline posts' above, not 'Inline pages'; sorry.

Aaron - Admin

7:27 pm - April 11, 2009

posts 382

 
3

AWP is loaded early in the process and pulls in all the activated modules before the WP queries go through because some modules have to modify the earliest WP actions. So unfortunately, this isn't possible.

AWP doesn't even have more than a few &nbsp in the code and all but two are in the admin panel, so you have another plugin tacking it on or it is from your theme.

narnigrin - Guest

8:44 pm - April 15, 2009

 
4

Thanks for your reply!
I went back and disabled some modules to see which one caused the weird &nbsp behaviour, and it turned out to be a 'Tweet this' module. My bad; obviously I should have checked before asking!

Keep up the good work! Laugh



Reply to Topic: Disabling AWP on specific pages

Name (Required):

EMail (Required):

Website):

Topic Reply:

HTML Editor
Save New PostSmileysOptions

Guest URL (required)

Math Required!
What is the sum of:
11 + 7
   

 
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell

 
 

About the Ajaxed WordPress forum

Most Users Ever Online:

35


Currently Online:

6 Guests

Forum Stats:

Groups: 1

Forums: 3

Topics: 186

Posts: 487

Membership:

There are 1177 Members

There have been 149 Guests

There is 1 Admin

There are 0 Moderators

Top Posters:

jakemc - 5

fromgrannie - 5

flash - 4

BAM - 4

Siam - 4

tombyrnes - 4

Administrators: Aaron (382 Posts)