-
Author
-
August 19, 2015 at 05:31 #73689
msattolo
ParticipantHi
How can I show the name of a category or post type when using either Kleo Post or Post grid?
Is it possible also to set a different color to the left margin of the post tittle in the Pinterest style, according to a category or post type?
Thank you
MiriamAugust 19, 2015 at 15:49 #73727sharmstr
ModeratorKleo posts already show the category if you have it turned on in Theme Options > Blog > Meta
It doesnt appear you can do that with grid builder: https://wpbakery.atlassian.net/wiki/display/VC/Grid+Builder
The colors already change colors based on post type: http://seventhqueen.com/themes/kleo/pinterest/
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
August 19, 2015 at 15:53 #73730sharmstr
ModeratorWell, based on post format, I should say.
You can also target categories like this. Just change the ‘courses’ to your category name.
COPY CODE.masonry-listing .category-courses .post-title { border-left: 3px solid #fc604a !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
August 19, 2015 at 20:14 #73798msattolo
ParticipantThank you sharmstr.
This helps. But, actually, I am trying to buid a Pinterest style page, bringing different Geodirectory Custom Post Types. The builder allows me to “call” any kind of post types, but the post won’t show the category unless it is a classical blog post. Is there any way to allow Geodirectory categories?
Thank you!
MiriamAugust 19, 2015 at 20:32 #73803sharmstr
ModeratorI’ve discussed that here: https://archived.seventhqueen.com/forums/topic/custom-taxonomy-terms-in-meta-list
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
August 19, 2015 at 20:44 #73805msattolo
ParticipantThank you.
Will you guide me a little further? As I understand, I need to insert some code in the functions.php, and some other in kleo_entry_meta.php. And then select the options in the Blog Theme options.
The classic geodirectory post-type it is called “place”. How would be the code? I don’t understand very much of coding….
Than you so much
MiriamAugust 19, 2015 at 20:49 #73807sharmstr
ModeratorI’ll give this to someone else. Maybe they can assist you.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
August 20, 2015 at 18:42 #73956msattolo
ParticipantThank you
If I follow the linked you pointed
https://archived.seventhqueen.com/forums/topic/custom-taxonomy-terms-in-meta-list
their are registering a taxonomy. In my case, the taxonomy has been created by the plugin. So, as far as I understand I need to tell the theme framework to recognize it.
Where do I edit the kleo_entry_meta function? I think that, with this little help I will manage.
Thank you
MiriamAugust 27, 2015 at 17:54 #74867Andrei
ModeratorHi @msattolo, from what I can understand you can’t find the places post type listed in the Post Grid settings content source, that’s because of a small incompatibility between visual composer and geo directory, you can set your post grid only for posts, and then switch to the classic page editor and find where the post is defined in the post grid shortcode, and add your own post type there, manually.
Let me know if it worked.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 27, 2015 at 23:38 #74962msattolo
ParticipantHello Andrei
Actually, the post type is available trough the composer, and it is displayed. What I cannot manage is to bring the “Post type name” into the post.
Kind regards
MiriamAugust 28, 2015 at 00:32 #74964Andrei
ModeratorCan you please provide a screenshot pointing out where exactly you want to add this ?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 28, 2015 at 01:15 #74978msattolo
ParticipantHere you are. Thank you
Attachments:
You must be logged in to view attached files.August 30, 2015 at 01:18 #75279Andrei
ModeratorWell, categories taxonomy for other post types might not the same as the one for the “Posts” post type, so that’s why you won’t find them listed in there. Unfortunately this won’t be possible without some custom modifications.
Please let me know if I can help you with anything else.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 31, 2015 at 20:09 #75563msattolo
ParticipantThank you Andrei
I would appreciate if you can lead me on customization, or point me in what bit of code should I make modifications.
Kind regards
MiriamSeptember 2, 2015 at 18:54 #75878Andrei
ModeratorThe function which outputs the meta data is called “kleo_entry_meta” and is located in the main functions.php file starting with the line no 524. Please understand that you’ll need programming knowledge in order to modify this function.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.