Jump to content
UBot Underground

Help with WordPress


Recommended Posts

Hey Everyone,

 

I am trying to replace a simple "5" with "25" in WordPress, and I can't get it to work for the life of me. Basically, I'm trying to change the number of recent posts shown from 5 to 25. Any ideas how to do it? I tried $replace, but I can't seem to get it to work correctly...it just appends 25 to 5, so I end up with 525.

 

Any help would be appreciated.

 

http://screencast.com/t/9TwyTxdqFs

Link to post
Share on other sites

it would be more helpful to show code instead of the element (...or both!) - but I'm pretty sure you're dragging in the element, which initializes type text instead of change attribute.

 

Drag in the change attribute command, select the element and pick "value"

 

Should work wonderfully.

Link to post
Share on other sites

...and here's some code:

 

type text(<name="wp_screen_options[value]">, "this doesnt work", "Standard")
wait(2)
change attribute(<name="wp_screen_options[value]">, "value", "This works")
wait(2)
type text(<name="wp_screen_options[value]">, "\{BACKSPACE\}\{BACKSPACE\}\{BACKSPACE\}\{BACKSPACE\}\{BACKSPACE\}\{BACKSPACE\}\{BACKSPACE\}\{BACKSPACE\}\{BACKSPACE\}...this also works, but it\'s far better to use change attribute", "Standard")

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...