Commit Graph

154 Commits

Author SHA1 Message Date
Robin Cornett acd79f3e36 change featured term widget to easier class name 2015-01-28 07:52:37 -05:00
Robin Cornett d5efd2464a fix variable for CPT 2015-01-20 13:24:32 -05:00
Robin Cornett d22dcb51b0 clarify keep titles setting/wording 2015-01-20 13:20:53 -05:00
Robin Cornett 0ac5c69ad9 add style for admin image column 2015-01-19 20:58:30 -05:00
Robin Cornett f66959f4f5 add filter to force large image use
added for Craig. Required going back to using actual item to
determine width instead of using image metadata. Should still be OK with
Photon but worth checking.
2015-01-13 22:18:47 -05:00
Robin Cornett daae448009 change upload button to not primary 2015-01-10 14:24:18 -05:00
Robin Cornett d433ed39a1 escape all the things 2015-01-10 14:12:30 -05:00
Robin Cornett 0511b4f27f tag as 2.0.0 2015-01-10 10:45:16 -05:00
Robin Cornett 4229ac2b82 fix tax term widget language 2015-01-10 10:35:43 -05:00
Robin Cornett 4ee75055c8 fix is_singular conditional (again) 2015-01-10 10:26:52 -05:00
Robin Cornett 6420d8fc1f fix is_singular conditional 2015-01-10 10:15:12 -05:00
Robin Cornett e9e20d39d3 add CPT archive link to settings page 2015-01-10 09:43:38 -05:00
Robin Cornett d3be09861b add help tab for taxonomy terms 2015-01-10 09:42:54 -05:00
Robin Cornett 8f56924f84 enable large (in addition to backstretch) images for archives 2015-01-09 15:36:47 -05:00
Robin Cornett fdd006ecdf clarify language and add help for settings 2015-01-09 12:55:54 -05:00
Robin Cornett d7b866653b fix escaping titles
EDD outputs a span in titles. escaping outputs the markup.
2015-01-09 12:55:11 -05:00
Robin Cornett 26a6630504 clarify widget titles
also moved file inclusion to register_widgets function #wwgjd
2015-01-09 12:54:12 -05:00
Robin Cornett 09793cd4a6 fix image_id setting if no post thumbnail 2015-01-08 13:24:54 -05:00
Robin Cornett 45b04bafaf fix variable consistency 2015-01-08 12:39:23 -05:00
Robin Cornett 82339e158d fix get_option in tax widget 2015-01-08 12:32:16 -05:00
Robin Cornett 9b5da50918 updated term option for uniqueness 2015-01-07 19:08:49 -05:00
Robin Cornett 521d2e02a3 use WP title/description if genesis same aren't set 2015-01-07 12:08:25 -05:00
Robin Cornett a438a10b1e add posts to possible archive type
basically serves as a fallback. some wonky possibilities if front page
is the posts page, or if front page is static and no posts page is set
2015-01-07 10:06:56 -05:00
Robin Cornett ec59ef049d add cpt archive widget 2015-01-06 22:10:43 -05:00
Robin Cornett a635fd0524 fixed js to handle multiple buttons
needed to set a global variable, apparently
2015-01-06 20:45:37 -05:00
Robin Cornett 3ec0be7c0b fixed ajax
widget will not display if taxonomy is changed and new term is not
selected. for some reason, the term doesn't select with ajax so the
$instance['term'] may end up mismatching with the $instance['taxonomy'],
which can throw lots of errors. for now, I'm dealing with this by
making the entire widget disappear if there is a problem.
2015-01-06 11:42:37 -05:00
Robin Cornett 891363618c remove unnecessary markup 2015-01-05 23:27:08 -05:00
Robin Cornett 920e782609 fixing js conflicts
ajax still is not working, although at this point it is doing something.
just exchanges for an empty list. also still conflicts with jo.
2015-01-05 23:26:44 -05:00
Robin Cornett 37cbcc7210 update tax widget to select tax, then term
js needs work
2015-01-05 20:32:18 -05:00
Robin Cornett 1b2c90c872 add featured taxonomy widget 2015-01-05 17:54:56 -05:00
Robin Cornett 606bfc8075 integrate apply_filters to relevant places
reduces number of functions created
2015-01-05 11:04:44 -05:00
Robin Cornett 8d357c56ae simplify post_types array for filters
(call just once)
2015-01-04 22:39:12 -05:00
Robin Cornett 289f0e5a6e set cpt/tax images to be backstretch only 2015-01-04 18:15:32 -05:00
Robin Cornett 3268052c73 fix sanitization return for cpt images
previous valid value is now returned here as well.
2015-01-04 17:45:32 -05:00
Robin Cornett 83e46c5e31 move tax save function to settings class
this cuts redundancy, since the image validation function is already in
this class. having the taxonomy save in its own class required
duplicating the validation functions.
2015-01-04 16:05:25 -05:00
Robin Cornett 4e923f99ac add filter to move large image to after header on single posts 2015-01-04 16:03:18 -05:00
Robin Cornett 83d8233dc5 remove image from page 2+ on blogs/archives 2015-01-04 16:02:16 -05:00
Robin Cornett ad325cd07f fixed tax/cpt image variable settings 2015-01-04 16:01:11 -05:00
Robin Cornett 0f6d537c40 fixed cpt image setting for output 2015-01-03 18:38:22 -05:00
Robin Cornett 86c4b6920a fix taxonomy buttons for js 2015-01-03 18:27:03 -05:00
Robin Cornett 6710a5707d simplify button text 2015-01-03 18:26:31 -05:00
Robin Cornett 1ec79fded2 update settings page, better validation for cpt images
As of this moment, cpt images will return empty if the value is invalid.
Better than resetting to fallback, but still not ideal.
2015-01-03 18:08:27 -05:00
Robin Cornett 37c2c6418c remove unnecessary includes 2015-01-03 17:56:25 -05:00
Robin Cornett a475716d5a working cpt archive images
including sanitization! although the sanitized images all revert to the
last valid fallback value, which is not correct. May be better to revert
to blank?
2015-01-03 17:43:18 -05:00
Robin Cornett a64d5c68ee retrieve js for all relevant admin pages 2015-01-03 15:42:20 -05:00
Robin Cornett 1897557a3b simplify columns calls 2015-01-03 15:41:49 -05:00
Robin Cornett 3b5c5344fd update text strings for consistency 2015-01-03 11:57:06 -05:00
Robin Cornett 3e341912fc add cpt image to available images 2015-01-03 09:10:38 -05:00
Robin Cornett 3592082abf functional setting for cpt featured image
at this point, a featured image can be set and retrieved for the cpt
archive. creates a new setting, though, not sure if this is desirable.
could we just add on to the existing displayfeaturedimage setting, since
it is already serialized?

also, at this point, no validation is happening for the cpt images.
2015-01-03 09:10:16 -05:00
Robin Cornett df532a6a20 add size to featured image description 2015-01-03 09:07:40 -05:00