Commit Graph

615 Commits

Author SHA1 Message Date
Robin Cornett 9c906b4426 Update term meta updater
Conditional not needed as it's only run if the condition is already met.
2016-08-17 15:15:50 -04:00
Robin Cornett 7609740fa7 Set the db query as a class variable so the query only happens once 2016-08-17 12:09:35 -04:00
Robin Cornett 0010799d5e Extract term checker function 2016-08-17 11:34:21 -04:00
Robin Cornett 7ae9dd9979 Mark deprecated function 2016-08-17 10:37:40 -04:00
Robin Cornett f4cb5244f3 Update term notice check 2016-08-17 10:05:24 -04:00
Robin Cornett 2ab8175f14 Check term image check on settings page
Query db directly rather than cycling through all taxonomies/terms in
order to reduce load on server.
2016-08-17 09:49:13 -04:00
Robin Cornett 383d557cbd Update version, readme, .pot 2016-08-16 16:37:03 -04:00
Robin Cornett b1efda929a Only allow max_height to return empty value 2016-08-16 16:33:12 -04:00
Robin Cornett e47b12bc47 Change early return in js 2016-08-05 13:09:31 -04:00
Robin Cornett 21e2bb8624 Fix admin columns on mobile 2016-08-02 10:14:50 -04:00
Robin Cornett 60bf3eb9e2 Allow number fields to be empty 2016-07-16 18:05:19 -04:00
Robin Cornett 080d6adf51 Fix upgrade notice 2.6.0 2016-07-12 11:21:35 -04:00
Robin Cornett 030d4f127d Update version, readme, .pot 2016-07-12 09:53:28 -04:00
Robin Cornett c62629b52e Organize main function calls 2016-07-12 09:51:22 -04:00
Robin Cornett 1f3dc15e34 Remove settings check
No longer needed with setting/default array merge.
2016-07-12 09:50:56 -04:00
Robin Cornett 2f2f165fd9 Fix search/404 check 2016-07-12 09:49:05 -04:00
Robin Cornett 20604f5a03 Clarify help text on skip setting 2016-07-11 20:23:18 -04:00
Robin Cornett 0b23fedf51 Add in error message for customizer
Only shows message in WP > 4.5, but validation still works.
2016-07-11 14:00:44 -04:00
Robin Cornett c940279fe9 Restrict uploader to images 2016-07-11 13:59:41 -04:00
Robin Cornett 7109785027 Use custom validation method for default image in customizer 2016-07-11 11:23:03 -04:00
Robin Cornett 356db8115c Add backstretch settings to the customizer 2016-07-07 20:16:42 -04:00
Robin Cornett e83b6365d5 Update help tabs for style settings 2016-07-07 17:41:24 -04:00
Robin Cornett 6258e90ecf Return false for image ID if it doesn't exist 2016-07-07 17:40:45 -04:00
Robin Cornett 822174817d Add backstretch variables to settings page
Image centering/fade values for javascript. Includes radio buttons and
making a new style tab.
2016-07-06 09:42:48 -04:00
Robin Cornett 3a5cb57720 Fix CPT archive widget if post type not registered 2016-07-05 08:32:31 -04:00
Robin Cornett 13c4d67e4f Update/add doc blocks 2016-07-03 07:42:41 -04:00
Robin Cornett e296e864b8 Extract settings setup to new class
Generally extended by the helper class.
2016-07-03 07:32:02 -04:00
Robin Cornett 36c05aaf83 Remove JS from image/customizer setting 2016-07-02 21:33:24 -04:00
Robin Cornett 30680f0787 Fix inline style 2016-07-02 14:11:23 -04:00
Robin Cornett 72a50ea505 Add setting to always use default image 2016-07-02 14:02:54 -04:00
Robin Cornett 518937a3ab Add min/max to number fields for customizer 2016-07-02 13:08:03 -04:00
Robin Cornett 8a5ba28360 Old value can be retained, even if empty 2016-07-02 13:07:22 -04:00
Robin Cornett 7f9695e5f6 Update checkbox labels/descriptions 2016-07-02 12:17:09 -04:00
Robin Cornett d47611bb40 Fix validation method 2016-07-02 12:11:35 -04:00
Robin Cornett 6a9547cbdd Add description to the image setting 2016-07-02 12:11:18 -04:00
Robin Cornett ab20236fe2 Fix one_zero visibility 2016-07-02 11:28:34 -04:00
Robin Cornett 9948540e63 Update number fields in customizer 2016-07-02 11:24:43 -04:00
Robin Cornett c10712304e Update CSS help tab 2016-07-02 10:26:35 -04:00
Robin Cornett d064760adf Update CPT widget get_option call 2016-07-02 10:26:23 -04:00
Robin Cornett c7b22b43ea Organize main class function 2016-07-02 10:25:59 -04:00
Robin Cornett d8598a8be1 Move help tabs to unique class 2016-07-02 10:17:38 -04:00
Robin Cornett 46ebb4b02d Add customizer class/settings 2016-07-02 09:17:46 -04:00
Robin Cornett 1a69832c07 Add max-height setting/CSS via inline style 2016-07-02 09:13:30 -04:00
Robin Cornett 642359bcb1 Refactor settings fields definitions 2016-07-02 09:11:14 -04:00
Robin Cornett 65d8431a1d Set aria-hidden on backstretch image 2016-06-24 15:59:30 -04:00
Robin Cornett 5b78206179 Add alt attribute to backstretch image 2016-06-24 13:02:39 -04:00
Robin Cornett 24f3612d67 Fix aria-hidden output on widgets 2016-06-24 12:58:56 -04:00
Robin Cornett e3e9a8f68c Change post_meta checkboxes to be settings aware
"Don't move title" will only show if the "don't move title" is not set
in the general plugin settings.
2016-06-23 12:16:18 -04:00
Robin Cornett e71746840f Fix post_meta check
Now works on posts page also.
2016-06-21 21:14:06 -04:00
Robin Cornett fe7fa78c16 Move post meta settings to one function 2016-06-21 14:23:56 -04:00