-
-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why the category_description=yes is sometimes working - sometimes not? #282
Comments
I think it may be related to the template being used. When you use |
thank you for responding - - will try this in my template and see what happens |
just tried this "code" // Show category link: // Show category description: // Show the conditional title: //Add 'starting' tag. Here, I'm using an unordered list (ul) as an example: where | = ' but that did not change anything - - this tag ".lcp_description" is in the CSS of the theme and the "flexbox-album" tags is working well |
have done some test in a separate blogpost to find a solution but i did not succeed Lines in the albumextra.php (only the active ones) /**
/* This is the string which will gather all the information.*/ // Show category link: // Show the Category Description: //Add 'starting' tag. Here, I'm using an unordered list (ul) as an example - I need a flexbox to house my covers : global $post; //Start a List Item for each post: //Post Thumbnail //Close li tag - I do not use the li - so it is empty! // Close the wrapper opened at the beginning: $this->lcp_output = $lcp_display_output; end of albumextra.php where | = ' Now we have 2 lcp tag-lines in the blogpost https://theme.ferrie.audio/2016/10/ontferm-u/ first lcp-tag-line after LINKS When the template is called the category_description is not shown - the flexbox is not correct formatted - will fix that later second lcp-tag-line is without the template: When the template is NOT used the category_description is shown - the flexbox is not formatted as expected - it is not called correctly Conclusion I hope that you guys are able to investigate this conflict to make the output more easy to design |
I had a look at the issue you describe and your code examples. There are a couple things I noticed:
|
thank you @zymeth25 Klemens for your explanation - i will have some more patience |
Connected to this issue I ask you to look at the following difference in notation when it comes to the template: // Show category link: // Show the conditional title - or something else: //Add 'starting' tag. Here, I'm using an unordered list (ul) as an example: - a flexbox offers more possibilities - why not let the user choose which way to go in the LCP-Admin-Page maybe it is possible to construct the template method as a part of the LCP-Admin-Page - and then switch between [catlist name1=thing name2=thing] and [catlist = template=mytemplate] - so they do not interact with each other? more about the flexbox |
Yes, there is another issue (#177) where this is discussed. Hopefully in time we can develop the admin page options.
Yes, of course. After
Again, I agree, the more options are allowed to be customized in the admin page the better. As soon as one of the contributors has the time to code it it will be included! |
thank you Klemens |
You're welcome 🙂 |
an inexplicable behaviour of the category_description tag
working:
[catlist catname=yes catname_class=h2 category_description=yes categorypage=yes template=ol order=asc excludeposts=this no_post_titles=yes thumbnail=yes force_thumbnail=yes thumbnail_size=200,200]
NOT working:
[catlist template=albumextra catname=yes catname_class=h2 excludeposts=this category_description=yes categorypage=yes order=asc no_post_titles=yes thumbnail=yes force_thumbnail=yes thumbnail_class=lcp_thumbnail]
is this normal or exceptional?
is it the order of tags: NO - - tried several combinations
if there is someone with a workaround? - much appriciated
The text was updated successfully, but these errors were encountered: