Puzzled why Adobe Contribute lists only 10 Pages of WordPress?

,

This is due the changes done by WordPress for their API “wp.getPages”, which has been modified to return only 10 pages by default.. So Contribute is listing only the most recent ten pages  for editing.

What to do now?  There is of course  a workaround.

  1. Open the xmlrpc.php file on your server, where you have deployed WordPress.
  2. Search for “$num_pages = isset ($args[3]) ? (int) $arg[3] : 10;” string.
  3. Modify the last parameter value from 10 to 50.
  4. Save and Close the file.
  5. In Contribute, click on the Refresh button next to the Entries dropdown.

Contribute will be able to edit more pages now.

var addthis_pub=”dmichael”;Bookmark and Share    Adobe Contribute  Contribute Publishing Server   Dominic Michael

One Response to Puzzled why Adobe Contribute lists only 10 Pages of WordPress?

  1. Joseph Scott says:

    The number of Pages to return from a wp.getPages call is the 4th parameter to the method call. There is no reason to edit core WordPress code, when the client can simply ask for any number of Pages already.10 is just the default, but a client can still ask for any number of Pages.