Robin Cornett
21786d2f03
change get_object_terms to get the image from most used taxonomy
2015-01-01 10:56:51 -05:00
Robin Cornett
5c3c6ae6cb
update README
2014-12-31 17:04:05 -05:00
Robin Cornett
4dcd3896da
add description class to <p>
2014-12-31 17:03:54 -05:00
Robin Cornett
faa88f04f3
add sort taxonomies by taxonomy, then term
...
need to decide if this is helpful for items with multiple terms/taxes
assigned. Think in this case, the user will have to pick a featured
image for the singular post anyway if they really care which one gets
assigned.
2014-12-31 17:03:35 -05:00
Robin Cornett
2ec2fdee26
change button text to be the same for settings and taxonomies
2014-12-31 17:02:14 -05:00
Robin Cornett
f29cfcba9b
use get_post only for checking post_content
2014-12-31 11:00:36 -05:00
Robin Cornett
6221d8d0a9
change to get_the_ID instead of $post
2014-12-31 11:00:15 -05:00
Robin Cornett
6fa66873db
remove global $post
2014-12-31 10:51:39 -05:00
Robin Cornett
1a4adac350
fix image selection for is_singular()
...
if there is no post thumbnail, but a taxonomy has a featured image, then
use that. otherwise, if a fallback image exists.
2014-12-31 10:41:39 -05:00
Robin Cornett
c5acb81938
add tax image if there is no featured image
...
needs checking to see what happens if there is no tax image, but there
is a fallback image
2014-12-31 10:02:02 -05:00
Robin Cornett
42f98531a8
validate image in taxonomy upload
...
no way to add error message?
2014-12-31 08:32:55 -05:00
Robin Cornett
1d5bd646f2
remove early return condition for fallback image
...
had bailed early if no fallback, or if not a singular page/post
2014-12-31 08:32:17 -05:00
Robin Cornett
ad47e48784
move taxonomy image declaration ahead of single posts
2014-12-31 08:31:23 -05:00
Robin Cornett
1e91cb1638
set a width for url field on taxonomy pages
2014-12-30 17:12:58 -05:00
Robin Cornett
afa91f00cf
add taxonomy image to common class parameters
...
need to decide about using tax image if a fallback image is needed, or
exists.
2014-12-30 17:12:21 -05:00
Robin Cornett
56919d77fe
move upload script enqueue to main class
...
(so it's available for both taxonomies and settings page)
2014-12-30 16:36:33 -05:00
Robin Cornett
05cbac5306
add taxonomies class
...
sets up featured image for taxonomies. not applied to output yet.
2014-12-30 16:27:56 -05:00
Robin Cornett
5dab26b927
add new setting to optionally not move titles
2014-12-15 10:03:47 -05:00
Robin Cornett
8a715934ec
updated version to 1.5.0
1.5.0
2014-12-13 10:03:55 -05:00
Robin Cornett
6c73cc6d83
updated readme
2014-12-12 14:06:20 -05:00
Robin Cornett
8da1514877
refactored rss class
...
First check is now full text as that is more standard. Reorganized decision process,
and properly accounted for optional alternate feed in Send Images to RSS.
2014-12-12 14:05:58 -05:00
Robin Cornett
7e67eac6e4
add class for RSS work
...
extracted RSS filters from output class and created new RSS class.
2014-12-12 10:08:00 -05:00
Robin Cornett
f905bc61f9
add function to check/update new setting
...
since feed_image is a new setting in the array, there is an error if it's not set for users
upgrading from 1.4.3. this function checks if it isn't there and if it's not, adds it.
for new users, there is no need to check.
2014-12-11 17:33:29 -05:00
Robin Cornett
58545926fc
clarify docblock on new seting
2014-12-11 17:30:39 -05:00
Robin Cornett
d7c366535f
modify feed output if featured image exists in post
2014-12-10 19:33:22 -05:00
Robin Cornett
bc699974a0
add help text
2014-12-10 19:31:53 -05:00
Robin Cornett
60ce2aebb2
validate feed_image
2014-12-10 19:31:39 -05:00
Robin Cornett
e034e54caa
add rss function
2014-12-10 17:04:31 -05:00
Robin Cornett
938514cf64
add rss output functions
...
Checks Settings > Reading. If full text is selected, large image is added to entry content.
If Send Images to RSS plugin is active, email size image is added to entry content.
If Summary is selected, thumbnail is added to description (excerpt).
2014-12-10 17:04:10 -05:00
Robin Cornett
9ab53f9394
add new setting to show image in feed
...
This setting is optional, and off by default. Since the image is not actually
part of the entry content, this would add it to the beginning of the post if the
post thumbnail is set.
2014-12-10 17:01:11 -05:00
Robin Cornett
6241876601
add fallback if user has javascript disabled
2014-12-08 13:26:47 -05:00
Robin Cornett
545ab8f098
tidy comments
2014-12-08 13:25:52 -05:00
Robin Cornett
859a7dd896
Create LICENSE
2014-11-24 11:06:50 -05:00
Robin Cornett
2f08399ea9
checkbox work
2014-11-24 10:48:46 -05:00
Robin Cornett
b7a452acd5
updated .pot
2014-11-22 15:33:30 -05:00
Robin Cornett
b43eefa163
updated .pot
2014-11-22 15:15:29 -05:00
Robin Cornett
a0a4e28948
nonce nonce nonce
2014-11-22 15:15:15 -05:00
Robin Cornett
8f7e009991
set checkbox value even if empty
2014-11-22 15:14:57 -05:00
Robin Cornett
60e9c9de91
change how defaults are defined
2014-11-21 22:03:07 -05:00
Robin Cornett
56388f321a
validation set to protected
2014-11-21 15:50:19 -05:00
Robin Cornett
fd7ba22108
Merge pull request #2 from robincornett/master
...
Master
2014-11-21 11:51:31 -05:00
Robin Cornett
ceb2747b4c
Merge branch 'develop'
2014-11-21 11:49:44 -05:00
Robin Cornett
857324dcee
upgrade notice
2014-11-21 11:49:23 -05:00
Robin Cornett
199ed95d0a
remove Photon filter ONLY if active
2014-11-19 13:31:10 -05:00
Robin Cornett
0a77b3d3fa
remove photon filter
2014-11-19 09:43:44 -05:00
Robin Cornett
c59fe63c29
added Photon notice to readme
2014-11-18 21:09:03 -05:00
Robin Cornett
72bf5f7904
updated .pot
2014-11-18 21:08:45 -05:00
Robin Cornett
ef11db5b0c
photon metadata fix
2014-11-18 21:01:47 -05:00
Robin Cornett
4b8f0b5181
large image output
2014-11-18 21:01:25 -05:00
Robin Cornett
12bf157d33
photon metadata fix
2014-11-18 21:00:56 -05:00