Forum Replies Created
-
AuthorPosts
-
October 7, 2020 at 10:17 am in reply to: Blog Widget, Grid Layout show author and date/time #1251083
I have my postslider.php file in this folder https://pasteboard.co/JuvP6Fm.jpg
Exactly where it is in the parent theme. Or is there some other folder where it should be?
I’m guessing it should be an actual folder called shortcodes not avia-shortcodes? I can’t find any folder like that in the parent theme.Only different versions of avia-shortcodes. Where should that folder go in the child-theme?
Edit: I found it. Shortcodes folder needs to be right in the root of the child theme. Thanks everyone
-
This reply was modified 4 years, 9 months ago by
OverlapAT.
October 1, 2020 at 12:13 pm in reply to: Blog Widget, Grid Layout show author and date/time #1249855Ok, I finally managed it with this before the line $output .= ‘</header>’;
$author = get_the_author_meta( 'display_name', $entry->post_author ); $author_link = get_author_posts_url( $entry->post_author ); if(!empty($author)) { $meta = ''; $meta .= '<span class="blog-author minor-meta">'; $meta .= '<a href="'.$author_link.'">'.$author.'</a><span class="slide-meta-del">/</span>'; $meta .= "<time class='slide-meta-time updated' $markup>" . get_the_time( get_option( 'date_format' ), $the_id ) . '</time>'; $meta .= '</span>'; } $meta_out .= $meta;
Thanks
Edit:
It looks like it doesn’t work with the child-theme. I added what you posted at the bottom here https://kriesi.at/support/topic/post-slider-add-author-in-multi-author-blog/ but it’s not showing up. I disabled all plugins that could interfere and disabled the css/js combining from enfold
-
This reply was modified 4 years, 9 months ago by
OverlapAT.
September 29, 2020 at 10:45 am in reply to: Blog Widget, Grid Layout show author and date/time #1249309I mean the actual blog grid on the page.
It currently looks like this (see private content)
and what I need in addition is like it is on this page: https://kriesi.at/themes/enfold-2017/blog/blog-default/. Just instead of the comments I want the author with a link to all blog entries from that author next to the date.
Thanks
September 28, 2020 at 1:21 pm in reply to: Blog Widget, Grid Layout show author and date/time #1248984Hi, thanks for the offer. I discussed it and we came to the conclusion that what we want to do with the filter/menu just isn’t possible without a large amount of work .
So we’re back to the original question: getting the title and author into the blog widget grid layout. I found something from 2018 but the last time I tried some older support answer it didn’t work anymore.
September 25, 2020 at 1:54 pm in reply to: Blog Widget, Grid Layout show author and date/time #1248445Thank you, this works.
I tried changing this code so the categories would be a-tags instead of spans. But as soon as I change the tag to “a” it breaks it. It works if I do everything else like adding the href to the span but as soon as it’s an a-tag, it breaks the layout because of the a-tag that overlays the whole element.
I need to append the category name to the current url and use that as a link.
Overall I’d need the look of the blog widget (all images same size and all elements of a row the same size), author, date posted and categories attached on the element and the filter from the masonry element.
I guess this combination is just not possible. I managed to make it kinda work on desktop but it just doesn’t look right on smaller displays.
-
This reply was modified 4 years, 9 months ago by
OverlapAT.
Thank you very much.
If I make this change in a child theme, do I have to do anything else?
In another topic I saw something about queuing, but that was with the shortcodes file.
Edit: It looks like it’s now loading both versions of the file and not using the child-theme version. At least the tooltips stay when I click on another marker.
Edit2: It seems to work after I added this line to the top of the filevar openedInfoWindow = null;
Question still stands though if there’s something I need to do in regards to a child theme. Can those changes be overriden with an update or should it just always work?
-
This reply was modified 4 years, 12 months ago by
OverlapAT.
-
This reply was modified 4 years, 9 months ago by
-
AuthorPosts