• Resolved patwashburn

    (@patwashburn)


    For an author’s site, I’m buiding a widget to display a different image (book cover) linked to the relevant Amazon.com page in each category. I’ve written the Javascript to parse the category IDs and display the correct items, but I’m having trouble finding an easy way to access the category ID for the current page. Can anyone help?

    thanks in advance,
    Pat

Viewing 2 replies - 1 through 2 (of 2 total)
  • get category title than get category id by category title

    You can find this in the docs.

    I guess you can obtain category ID by php and pass it to javascript as argument. Sorry, have not tried such things.

    Thread Starter patwashburn

    (@patwashburn)

    Thanks dor!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to get category ID of current page?’ is closed to new replies.