Commit Graph

312 Commits

Author SHA1 Message Date
Robin Cornett bd4e155d7d Refactor settings page
Set specific function to retrieve plugin settings. Extract section and
field creation into separate, one trick functions.
2015-07-26 14:57:22 -04:00
Robin Cornett 9f008cd210 Fix early return in admin columns setup 2015-07-24 08:13:50 -04:00
Robin Cornett e5e5a187d8 Fix settings page 2015-07-12 12:59:50 -04:00
Robin Cornett 61d7d56e5c Fix dependencies 2015-07-12 12:28:21 -04:00
Robin Cornett 854fff888f Add basename constant for functions' use
Deactivate and settings links use this.
2015-07-12 12:26:20 -04:00
Robin Cornett 3a7602da03 Fix excerpt image alignment 2015-07-12 11:38:11 -04:00
Robin Cornett 2da0efb132 Fix widgets enqueue 2015-07-12 11:37:54 -04:00
Robin Cornett 41ac3732cd Provisional tag 2.3.0 2015-07-12 11:35:08 -04:00
Robin Cornett a27419917f Add support for new Send Images to RSS features 2015-07-11 17:06:13 -04:00
Robin Cornett c66354466d Add filter for front page title display 2015-07-11 17:05:16 -04:00
Robin Cornett 9b323d8511 Escape widgets output 2015-07-11 17:04:28 -04:00
Robin Cornett 0de08cb8f6 Change filter name for clarity 2015-06-12 08:38:06 -04:00
Robin Cornett 167dafb579 Fix call to protected static method 2015-06-12 08:30:47 -04:00
Robin Cornett 5427a4e083 Add filter to optionally show title on static front page 2015-06-12 08:24:19 -04:00
Robin Cornett ce287b0f2c Set post archive image 2015-06-08 15:22:35 -04:00
Robin Cornett d84de9c6c4 Move image_id filter back to set_image_id function
This way, it cannot completely override other filters, even if it's
accidentally coded that way, but will still override post/term images.
2015-06-08 15:22:17 -04:00
Robin Cornett a20cf8ef4a Add link text field 2015-06-07 17:14:15 -04:00
Robin Cornett 0ef416eb6f Add featured author widget 2015-06-07 17:03:09 -04:00
Robin Cornett 68339ddc5d Remove widgets from customizer if non-Genesis preview 2015-06-07 15:21:47 -04:00
Robin Cornett 6fc854e7f0 Refactor localize scripts to separate function 2015-06-07 12:55:14 -04:00
Robin Cornett a3c6afa03f Simplify deactivation 2015-06-07 12:06:55 -04:00
Robin Cornett 20e4aa1cf0 Simplify checkbox validation 2015-06-07 12:05:14 -04:00
Robin Cornett f6d588bfc7 Add author profile featured image 2015-06-07 12:04:36 -04:00
Robin Cornett c58cc69648 Revert to static functions
(backwards compatible)
2015-06-06 21:30:42 -04:00
Robin Cornett 837c8bb761 Fix $image_id filter 2015-06-06 18:01:07 -04:00
Robin Cornett 0f6430682d Fix $variables 2015-06-06 17:57:28 -04:00
Robin Cornett 93b7c5aa35 Clean up static methods
Needs lots more testing
2015-06-03 14:36:16 -04:00
Robin Cornett 955fba0e67 Fix duplicate image preview 2015-06-02 07:50:53 -04:00
Robin Cornett cab899a1f7 Refactor image validation
Now checking image validity/size for default and CPT images go through
one function instead of two.
2015-06-02 07:44:48 -04:00
Robin Cornett 812254fc20 Fix button output 2015-06-02 07:43:43 -04:00
Robin Cornett 7d440be436 Simplify checkbox setting function 2015-06-01 10:18:16 -04:00
Robin Cornett 73fd2dd6bd Refactor image preview/buttons
Move image preview and button renderer to separate functions instead of
building each three times.
2015-05-30 17:27:45 -04:00
Robin Cornett b103701b2e Refactor the refactor for settings fields 2015-05-30 13:38:41 -04:00
Robin Cornett 532ca19eb0 Refactor add_settings_field 2015-05-30 11:46:40 -04:00
Robin Cornett d859db9df4 Clean up widgets 2015-05-30 10:44:53 -04:00
Robin Cornett 12519a0878 Move more work into render function 2015-05-30 10:27:33 -04:00
Robin Cornett 682b6d9d03 Strict standards 2015-05-30 10:27:08 -04:00
Robin Cornett 62c8a41def Update help text 2015-05-30 09:54:32 -04:00
Robin Cornett 3b89ad5fb4 Update image ext check
pulled from latest CMB2
2015-05-30 09:54:19 -04:00
Robin Cornett 5d1e7ceb20 Change image preview dry 2015-05-30 09:53:22 -04:00
Robin Cornett 79d672f623 Remove unnecessary statics 2015-05-30 09:50:56 -04:00
Robin Cornett 9b42e9b3ea Fix foreach for CPT image setting 2015-05-30 08:04:57 -04:00
Robin Cornett 4db2b430c7 Refactor CPT image setting output 2015-05-30 07:41:29 -04:00
Robin Cornett 90bdeccf37 add hooks for before/after overlay title/excerpt 2015-05-26 17:01:28 -04:00
Robin Cornett 2e220abe31 Change RSS output 2015-05-23 15:42:47 -04:00
Robin Cornett 9fcd6c7f21 Fix default image ID helper function 2015-05-09 10:00:14 -04:00
Robin Cornett 4bff9bc7ae there is always more to escape 2015-05-08 09:32:50 -04:00
Robin Cornett cb643f8520 Fix no-js image 2015-05-07 21:18:39 -04:00
Robin Cornett d95d99e7bd Update version number 2015-05-07 20:39:19 -04:00
Robin Cornett 9bdca7944f escape more things #WWGJD 2015-05-07 20:36:35 -04:00