Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.This reply has been marked as private.
Where do I find the server error logs from the cpanel?
January 15, 2023 at 7:07 pm in reply to: Memberpress Page Template has been replaced by default page template #1378769Thanks – you can close this one out.
January 15, 2023 at 5:44 pm in reply to: Memberpress Page Template has been replaced by default page template #1378762Thanks Mike. By the way, the breadcrumb css worked brilliantly.
January 15, 2023 at 4:38 pm in reply to: Memberpress Page Template has been replaced by default page template #1378752Thanks Mike.
How about the first part of my question? What would have caused this page template change for the Memberpress pages? I can fix it by going into each page and changing to a custom page template – Archives layout – but that’s cumbersome since there are hundreds of Memberpress pages.
GabeJanuary 13, 2023 at 2:52 pm in reply to: Memberpress Page Template has been replaced by default page template #1378598Ismael,
Actually the option Use Custom Page Template is enabled for the CCBC entry. It’s set to Archive page. If I deselect it, the entry returns back to the strange layout option.I understand that one solution is to go through all of the membership pages (there are many), and change it to Archive page layout. Is that what you are recommending? What would have caused this change?
Also, why does the breadcrumb on all pages now have an additional breadcrumb that links to Events?
Thanks,
GabeThis reply has been marked as private.February 28, 2021 at 9:32 pm in reply to: Blog Post Grid Layout – Title, Author, Date display #1284291This reply has been marked as private.February 27, 2021 at 10:44 pm in reply to: Blog Post Grid Layout – Title, Author, Date display #1284179Thanks Ismael. If I also want to add this to archives, search results, and recent articles, how do I do that?
February 25, 2021 at 3:03 pm in reply to: Blog Post Grid Layout – Title, Author, Date display #1283686Ismael,
Thanks – as always for your help! Will this put my custom field between the title and the date, below each photo in the masonry gallery? That’s where I want it. See the screenshot in private content.
Thanks,
GabeFebruary 23, 2021 at 1:10 am in reply to: Blog Post Grid Layout – Title, Author, Date display #1282941Ismael,
Thanks so much for your help!
Can you expand on this a bit for adding my Advanced Custom Field into the Masonry entries?I see the line:
$items .= "<div class='av-masonry-entry-content entry-content' {$markup}>{$content}</div>";
Where do I put my Advanced Custom Field code:
$outlet = get_post_meta($the_id, 'outlet', true); if(!empty($outlet)) { echo '<span class="outlets minor-meta">'. __( 'Outlet:','avia_framework' ) . ' '; echo $outlet; echo '</span><span class="text-sep text-sep-cat">/</span>'; }
Thanks for your help!
GabeFebruary 3, 2021 at 6:31 pm in reply to: How to add a custom post tag to the Blog Post Grid Layout and ALB Masonry Blog ? #1277433I figured out how to do part of this – for the home page ALB blog posts in grid layout, but I need some help tweaking it. If I use the .small.avia-copyright within the Featured Image, then I can display it on the home page using the following selector. However, the following is tied to a specific post – how do I streamline this CSS so that it pulls the .small.avia-copyright for whatever post is appearing in the content slider?
#featured-news > div > div > div > div > div > div.flex_column.av_three_fourth.flex_column_div.av-zero-column-padding.avia-builder-el-5.el_after_av_one_fourth.el_before_av_hr > div.avia-content-slider.avia-content-grid-active.avia-content-slider1.avia-content-slider-even.avia-builder-el-7.el_after_av_textblock.el_before_av_hr.post-featured-news > div > div > article.slide-entry.flex_column.post-entry.post-entry-5416.slide-entry-overview.slide-loop-1.slide-parity-odd.av_one_half.first.real-thumbnail.post-format-standard > a > small { display: block!important; }
February 3, 2021 at 2:08 am in reply to: Blog Post Grid Layout – Title, Author, Date display #1277222Hi Ismael,
What if I want to add a custom post tag to the Blog Post Grid Layout? I figured out how to do this on the Blog Posts themselves, but I need to be able to display the same meta information in a variety of ways/places.1) Within Features and Reviews, Tips, and Deals on home page – https://greatfamilyvacations.com/home/ – this is the ALB blog posts in Grid Layout.
2) Within Trips by Activity – https://greatfamilyvacations.com/home/ (scroll down) – this is the ALB masonry gallery – perfect grid masonry blog postsIn both places, I need to display the following:
$outlet = get_post_meta($the_id, 'outlet', true); if(!empty($outlet)) { echo '<span class="outlets minor-meta">'. __( 'Outlet:','avia_framework' ) . ' '; echo $outlet; echo '</span><span class="text-sep text-sep-cat">/</span>'; }
Thanks for your help!
I finally figured this out and wanted to report back on my findings.
To reiterate, my goal was to create an advanced custom field called Outlet to show where a post was originally published. I wanted the order of the post-meta-infos line to be as follows:
Line 1 – Date / Outlet / Author
Line 2 – CategoriesThe solution was to create a folder within my child theme called “includes”, copy the loop-index.php file into the “includes” folder in the child theme.
Then I moved the code around starting at Line 341.
The key code is as follows:
$outlet = get_field('publication_name', $the_id, true); if(!empty($outlet)) { echo '<span class="outlets minor-meta">Outlet: </span>'; echo $outlet; echo '<span class="text-sep text-sep-cat">|</span>'; }
This reply has been marked as private.That didn’t work. When I inserted it, the blog post disappeared entirely. Was your instruction for using Advanced Custom Fields or for your meta box?
Any other suggestions?I can tell I’m doing something right because I see the text separator in the blog post but still can’t see the field group I added. Please help. The post link is: https://greatfamilyvacations.com/whether-to-cruise-or-not/
I added the loop-index.php file to my child theme and have edited the following section of it:
if ($blog_style !== ‘bloglist-compact’) :
echo “<span class=’post-meta-infos’>”;
// add Publication to post-meta-info section of blog
echo “<time class=’date-container minor-meta updated’ >”.get_post_meta( $post_id, $key = ‘group_600ae1c0bda45′, $single = false ).”</time>”;
echo “<span class=’text-sep text-sep-date’>/</span>”;echo “<time class=’date-container minor-meta updated’ >”.get_the_time(get_option(‘date_format’)).”</time>”;
echo “<span class=’text-sep text-sep-date’>/</span>”;if ( get_comments_number() != “0” || comments_open() ){
echo “<span class=’comment-container minor-meta’>”;
comments_popup_link( “0 “.__(‘Comments’,’avia_framework’),
“1 “.__(‘Comment’ ,’avia_framework’),
“% “.__(‘Comments’,’avia_framework’),’comments-link’,
“”.__(‘Comments Disabled’,’avia_framework’));
echo “</span>”;
echo “<span class=’text-sep text-sep-comment’>/</span>”;
}if(!empty($cats))
{
echo ‘<span class=”blog-categories minor-meta”>’.__(‘in’,’avia_framework’).” “;
echo $cats;
echo ‘</span><span class=”text-sep text-sep-cat”>/</span>’;
}echo ‘<span class=”blog-author minor-meta”>’.__(‘by’,’avia_framework’).” “;
echo ‘<span class=”entry-author-link” >’;
echo ‘<span class=”vcard author”><span class=”fn”>’;
the_author_posts_link();
echo ‘</span></span>’;
echo ‘</span>’;
echo ‘</span>’;Ismael and Guenni007,
Can you walk me through the steps a bit more? I have installed Advanced Custom Fields. On the backend, within the post editor, I’ve created the field group “Outlet” with Publication URL and Publication. I want this to go in post-meta between the Published Date and the Blog Post Categories.
What exactly do I do?
Many thanks for your help!
January 24, 2021 at 7:45 pm in reply to: How to use the image copyright info within a Enfold Gallery #1275123This is all very helpful. How do I add the copyright info into the avia content slider?
January 24, 2021 at 5:40 pm in reply to: How to add copyright info to all images on website? #1275109This reply has been marked as private.January 24, 2021 at 5:17 pm in reply to: How to add copyright info to all images on website? #1275093This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.October 12, 2020 at 7:45 pm in reply to: How to align the Header Menu correctly using a Header Widget #1252329Forget it. I figured out the issue. It was a padding issue.
Case closed.
Thanks for your help.October 12, 2020 at 7:04 pm in reply to: How to align the Header Menu correctly using a Header Widget #1252320This reply has been marked as private.October 8, 2020 at 3:29 pm in reply to: How to align the Header Menu correctly using a Header Widget #1251451This reply has been marked as private. -
AuthorPosts