Skip to content

Commit

Permalink
fixed issue with max posts
Browse files Browse the repository at this point in the history
Now can display more than 10.

Updated to 1.2
  • Loading branch information
bradjc committed Mar 21, 2014
1 parent a7da332 commit e845fa9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Contributors: bman12
Donate link:
Tags: publications, academic
Requires at least: 3.5
Tested up to: 3.7.1
Stable tag: 1.1
Tested up to: 3.8.1
Stable tag: 1.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -125,12 +125,19 @@ echo wpap_display_publications_formatted($opts);
}
`

= Support =

Please go to https://github.com/bradjc/wordpress-academic-pubs if you have
any issues.

== Screenshots ==



== Changelog ==

1.2: Fixed issue where only 10 publications would display.

1.1: Added slides and website.
Better support for translation.

Expand Down
2 changes: 1 addition & 1 deletion wpap-publication.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ function wpap_save_publication_option_meta ($post_id) {
'reverse' => 'false',
'show_links' => 'true',
'page_num' => '',
'num_per_page' => '',
'num_per_page' => -1,
);

/* Base function that returns a nice array of all the requested publications.
Expand Down

0 comments on commit e845fa9

Please sign in to comment.