Type= Media
-
Hi there,
I love your plugin but would like to add the option of adding “Media” to the Post Type list please.
I’ve already added categories & tags to the media library so this will give the ability to show latest images by category.
Is this possible?
-
Hello,
I am working on this and will include something in the new release.
When you say you added categories & tags to the media library, how do you attach a specific category to a specific image?
I am asking this because the WordPress native functionality is not providing such a feature, and perhaps you are using a third-party plugin for this. If so, which is that? As far as I know, you can attach the images for example to a post and the category (as the taxonomy term) set to that post. Is this your use case?
Regards,
IuliaHi Julia,
I’m afraid that I used the “Media Library Assistant” that comes with your plugin!
When will your upgrade be please?
And is it possible to let me have a shortcode or php to show the last three months (or 90 days) images loaded by category but not the uncategorized ones.
Many thanks
PaulHello,
I added support for the images and the date limit filters to the plugin. For showing the past 3 months images you would need to use the dynamic date limit, and for filtering by category, just select the
Att. categories
and specify the term.You can find screenshots and a full example on my website, at https://iuliacazan.ro/latest-post-shortcode/. Please upgrade and let me know how it goes.
Regards,
IuliaHi Julia,
Wow, Aren’t you clever!
I’m sorry but I think I’ve broken your code. I’ve been playing about with it and now when I click a photo nothing happens (I was getting a lightbox).
A couple of questions:
How do I get rid of the overlay on the photos (to be able to see the image clearly?
My Admin Bar (across the top) has disappeared – is this you?
Can I group the results by category, date or by post?
Where do I paste your CSS into please.
I’m sure that when I get my head around your code generator I’ll be okHello,
I will answer below to your questions:
– the shortcode is not intended to replace image galleries, however, if that is necessary the code can be adapted to work as such. What lightbox script do you use and which selector is that one using for the images? Do you have some markup from an example of how are you using it?
– by default, my code for the overlay is rendered when you use the as-overlay CSS class for the item. You can remove that and make it as you need, it is only a sample I added with the plugin so that you can have a starting point, but not necessary to use as such
– the admin bar should not be related to the plugin, perhaps that was deactivated from the back-end, from your account, and in this case, you can turn it on
– you can create more selections and generate more shortcodes you can embed in the same page for grouping items as you need
– the CSS can be put in the customizer additional CSS area, in your theme styles or even in the page content (depending on how you edit the page – if you use the classic editor, I think that might work)
Let me know if this helps.
Regards,
IuliaHi Iulia,
Thanks for you quick reply,
The trouble with WordPress is that everyone assumes that I know as much as them!I’ve got no idea what lightbox script I use and what selector it uses – all I know is that nothing happens when I click any photo on the page generated by your code.
I cracked the Overlay CSS and the admin bar.
you can create more selections and generate more shortcodes you can embed in the same page for grouping items as you need
I’m sure you can, I’ve just got to figure it out.
Sorry for moaning
PaulHi again,
My test page is HEREI’ve had another go and came up with this:
(BTW, the more I use your generator, the more impressed I am)
[latest-selected-content limit="999" display="title,date" titletag="h3" url="yes" date_limit="1" date_start="3" date_start_type="months" image="thumbnail" elements="19" css="four-columns tall" type="attachment" status="inherit" orderby="dateD"]
which shows 999 (should be all) images for the last three months.
What I can’t figure out is how to get an extra level of grouping starting with this kind of menu:
Date highest
CategoryA(count) thumbnail
CategoryB(count) thumbnail
Date highest-1
CategoryA(count) thumbnail
CategoryB(count) thumbnail
etc….
When you click on the category, you get all the images for that category and date.
Does this make sense & is it possible?
Thanks
PS: Completely different question: is there a list (other than your grid) of “elements” showing what they display pleaseHello,
I was checking the example you gave (a bit late I guess), and it no longer applies so I will mark this as resolved.
You can start a new thread if you have any other issues to report or questions.Regards,
Iulia
- The topic ‘Type= Media’ is closed to new replies.