Forum Replies Created
-
AuthorPosts
-
Thank you for answering my question in a timely manner.
I was asking as asset management via Themeforest – which purchase belongs to which page, has support for how long, under what conditions exactly – becomes somewhat hard to take care of when you buy themes regularly.
I will have to come up with a different solution, maybe one in which I can include various plugin purchases for our sites, too.
July 6, 2018 at 3:55 pm in reply to: Custom Taxonomies under post title on archive-pages, single post #982112Thanks. You can close this topic, i think. The solution will help others as well, i hope
July 5, 2018 at 3:41 pm in reply to: Custom Taxonomies under post title on archive-pages, single post #981637In think I might have found a possible solution on my own, even though I had already put considerable hours into this before.
So there seems to be at least one way for displaying custom taxonomies under the title of a blog post.Right under line 211 to 214 in includes/loop-index.php there is a chance to include content outside a if-clause that governs part of the content-structure of blog-lists in Enfold.
After this:
// The wrapper div prevents the Safari reader from displaying the content twice ¯\_(ツ)_/¯ echo '<div class="av-heading-wrapper">'; echo strpos($blog_global_style, 'modern-blog') === false ? $cat_output.$title : $title.$cat_output; echo '</div>';
Before this:
echo $close_header;
I included this to show the custom taxonomy “autorin” right under the title:
echo '<span class="post-meta-infos">'; echo '<span style="width: 80px;display: inline-block;">AutorInnen:</span>'; echo get_the_term_list( $post->ID, 'autorin', '', ', ' ); echo '</span>';
Of course now I could include many more custom taxonomies right there.
I included the new loop-index.php in the enfold child theme. This way it shouldn’t be directly interfering with future updates. Of course using a hook seems the safer route, but I don’t see a way to include anything right under the title of blog posts. Or is there?
- This reply was modified 6 years, 4 months ago by Carqueville. Reason: copy-paste error
Sie sollten nach den Begriffen “googleon” und “googleoff” suchen. Hier mal was der Suchkonzern selber dazu sagt:
Die Frage ist, ob das noch gilt oder schon wieder veraltet ist. Googles Dokumentation hinkt oft ein wenig hinter der Realität ihrer eigenen Suche hinterher.
-
AuthorPosts