19 reputation
6
bio website
location
age
visits member for 3 years, 4 months
seen Mar 6 at 17:19

Mar
5
accepted Custom Post Type Archive Pagination
Mar
5
comment Custom Post Type Archive Pagination
That worked! Thank you! Post your comment as an answer so I can give you credit lol!
Mar
5
asked Custom Post Type Archive Pagination
Feb
27
comment Need help with get_posts pagination
I've updated the code in my question. The pagination links are still not showing up. Did I set this up wrong? I've put my pagination in the nesting structure so that the pagination happens if there are posts, after the query does all of the posts
Feb
27
revised Need help with get_posts pagination
deleted 29 characters in body
Feb
27
comment Need help with get_posts pagination
I added paginate links, but it still isn't working. I added it in place of: echo '<div class="clearfix"></div>'; echo '<div class="left-pagination">'; previous_posts_link('Go back'); echo '</div>'; echo '<div class="right-pagination">'; next_posts_link('See More', $the_gallery_page_attachments->max_num_pages); echo '</div>'; echo '<div class="clearfix"></div>'; I set the 'total' to be $the_gallery_page_attachments->max_num_pages, I set the prev_text to be 'Go Back', and I set the next_text to be 'See More'
Feb
27
asked Need help with get_posts pagination
Oct
10
awarded  Popular Question
Dec
9
awarded  Student
May
16
accepted POST from jQuery to PHP
May
16
comment POST from jQuery to PHP
Nevermind, I got it. sanitize text field was breaking it, because ajax isnt submitting text fields. i'll sanitize those fields before the ajax call. Thank you so much. can you give me a link to your personal website so i can give you credit in the site i'm making?
May
16
comment POST from jQuery to PHP
It still isn't posting. can i send you my functions file, my header template, and my page template? I can put them up on pastebin
May
16
comment POST from jQuery to PHP
can i add a nonce by putting _ajax_nonce: '<?php echo wp_create_nonce( 'my_ajax_nonce' ); ?>' in the data array?
May
16
awarded  Commentator
May
16
comment POST from jQuery to PHP
ok, thank you. where do i put add_action( 'wp_ajax_some_action', 'your_process_function' );
May
16
comment POST from jQuery to PHP
my form is in a page template, my jquery is in a header template, and my php is in a file called process.php. Can that work within those files, or do i have to make a plugin?
May
16
asked POST from jQuery to PHP
May
15
comment jQuery Validate wp_editor
The $ works in WordPress. The jQuery is all in between <script> tags, so it all works. The problem is that the validator just isn't checking the wp_editors, although the other fields that are regular inputs and regular textareas are getting checked for validation.
May
15
asked jQuery Validate wp_editor
May
12
comment WordpressUser Submission Form
Apparently, I had a blank line before the first section of code that I pasted into this post. that's why the redirect wasn't working. All of your other advice worked, thank you. Now I just need to figure out a way to prevent multiple clicks. Maybe something that disables the submit button the first time it's clicked.