Forum Replies Created
-
AuthorPosts
-
Hi Rikard,
I’m not sure if this is the solution I’m looking for :-) I’m trying to style an individual post(CPT) differently. So I need the single blog style/lay-out to be different for a particular CPT.
Best,
ArjanI used #header .widget instead of .logo-title. So
@media only screen and (max-width: 767px) {
#header .widget { display: none !important; }
}And this does the trick!
On “normal” screens it looks fine now! On mobile I don’t need the text below the image.
I also tried the solution with the text widget in the header area (PHP snippet: Adding a widget area to the header). It works great on non-mobile resolutions. But is it possible to suppress this text widget in the header on mobile devices? It’s messing up the lay-out a bit and on mobile devices I just don’t need it…
This looks promising. I”ll give it a try later today.
Thanks!It works and looks great!
Ok I found a solution.So this topic can be closed.
The solution mentioned in that topic (the topic I started!) is the solution I’m using right now.But I have to use a different taxonomy or else it won’t work. Which bring me back to the original question: is it possible to use a modified version of the Enfold latest News widget that supports custom post types AND the normal category taxonomy.
But that widget doesn’t support custom post types…
Let’s get back to the real problem:
This works:
$this->avia_term = ‘nieuws_cat’;
$this->avia_post_type = ‘nieuws’;This doesn’t work
$this->avia_term = ‘category’;
$this->avia_post_type = ‘nieuws’;I need the CPT widget to work with the category taxonomy and the cpt nieuws.
Seems like this solutions only works for “test”, but what if the testtax taxonomy contains multiple categories?
It need to filter out a complete taxonomy not a category from this taxonomy (in this case test)
Hey,
I don’t want to hide the category completely. I want to hide “test” from showing up, but I still want to show “Publicatie” as a category.
Best regards,
ArjanThis reply has been marked as private.This reply has been marked as private.Hi Josue,
It works, thanks!
Best regards,
ArjanHi,
Great! This also solves another minor issue.
Thank you guys!Best regards,
ArjanI was wondering: would it be difficult to add another widget to Enfold that is similar to the Latest News widget but
shows posts based upon a specific tag? Maybe I should make this a feature request?Hi,
It works!
Best regards,
ArjanHi,
Haven’t tried it yet but I have no doubt this will work!
I can see what I’ve been doing wrong.Best regards,
ArjanThis reply has been marked as private.This reply has been marked as private.The CSS code you gave me didn’t work. It still shows the post type.
I’ve managed to solve one problem (I think). I forgot to edit tag.php to use loop-archive in the includes folder.
This line of code is responsible for the H3 title above the items shown in yhe tag archive I suppose?
$output .= “<h3 class=’post-title tag-page-post-type-title’>”.$label.”</h3>”;Is there a way to use CSS to hide it?
Ok here it goes :-) First let me explain what I’ve done so far.
I’ve added the php snippets (http://kriesi.at/documentation/enfold/change-archive-categorytag-blog-style/) and chosen the single-big style for my category and tag archive pages. And I’ve added a loop archive.php to the includes folder of my child theme. And I changed a line of code to show the excerpt and not the content.
This works in case of the category archive, but not the tag archive. Another minor differences is a H3 header (class post-title tag-page-post-type-title) which I would like to remove on the tag archive page.
Best regards,
Arjan -
AuthorPosts