Title: Add own parameter
Last modified: August 30, 2016

---

# Add own parameter

 *  Resolved [Delpierooo](https://wordpress.org/support/users/delpierooo/)
 * (@delpierooo)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/add-own-parameter/)
 * Hello.
 * Having one issue which I can’t seem to resolve.
 * I want to add new(my own) parameters to the ajax_load_more shortcode. Have tried
   some changes in ajax_load_more.php but didn’t manage to get it working.
 * For example I want to pass paramether my_thumb_size like:
 * [ajax_load_more my_thumb_size=”500×250″ .. ]
 * and then be able to read this parameter inside the repeater.
 * Is this possible? If yes, any help would be appreciated.
 * Thanks!
 * [https://wordpress.org/plugins/ajax-load-more/](https://wordpress.org/plugins/ajax-load-more/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * (@dcooney)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/add-own-parameter/#post-6765607)
 * Hey there.
    No that’s not possible, i’d suggest using a custom field and then
   accessing that data that way in your repeater.
 *  Thread Starter [Delpierooo](https://wordpress.org/support/users/delpierooo/)
 * (@delpierooo)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/add-own-parameter/#post-6765608)
 * Hi,
 * thanks for the answer. What about getting the page ID where the current repeater
   is used? That way we can use the custom field on pages(not posts).
 * Is there a way to read it inside the repeater?
 *  Plugin Author [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * (@dcooney)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/add-own-parameter/#post-6765609)
 * You can get the post id within a repeater like this;
 * global $post;
    $id = $post->ID;
 * Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Add own parameter’ is closed to new replies.

 * ![](https://ps.w.org/ajax-load-more/assets/icon-256x256.png?rev=2944639)
 * [Ajax Load More – Infinite Scroll, Load More, & Lazy Load](https://wordpress.org/plugins/ajax-load-more/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ajax-load-more/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ajax-load-more/)
 * [Active Topics](https://wordpress.org/support/plugin/ajax-load-more/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajax-load-more/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajax-load-more/reviews/)

## Tags

 * [new](https://wordpress.org/support/topic-tag/new/)
 * [own](https://wordpress.org/support/topic-tag/own/)
 * [parameter](https://wordpress.org/support/topic-tag/parameter/)

 * 3 replies
 * 2 participants
 * Last reply from: [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/add-own-parameter/#post-6765609)
 * Status: resolved