Forum Replies Created
-
AuthorPosts
-
Thanks! Here you go:
Thank you Mike. Do you know what line I should add that in? Tried putting it after “slide-entry-title entry-title ” as well as before “slide-entry-excerpt entry-content” but the slider did not change on the site.
- This reply was modified 4 years, 2 months ago by leviticus.
Thanks for pointing me to the correct line in the file. I ended up modifying it like so and it seems to work alright:
echo '<div class="av-heading-wrapper">'; if( strpos( $blog_global_style, 'modern-blog' ) === false ) { echo $cat_output . $title; } else { echo $title; if ( $my_custom_subtitle = get_post_meta( $post->ID, 'subtitle', 1 ) ) { echo '<h4 class="subtitle">' . $my_custom_subtitle . '</h4>' . "\n";} echo $cat_output; } echo '</div>'; }
Which file controls the output of the Post Slider block? I’d like to add the subtitle there as well.
- This reply was modified 4 years, 2 months ago by leviticus.
Thank you so much! I really appreciate your help on this.
Here you go
Sorry about that. This should work.
Thanks so much. Details provided in private content area.
No caching enabled, cleared my local cache and does find the new loop-index.php, but not pulling in the specific “if portfolio” variable.
The portfolio items are being pulled in from the Blog Posts content element block on a page. So, not the default portfolio archive from the theme. (If that’s what you were asking?)
I tried using just
<?php if ( 'portfolio' == get_post_type() ) { ?>
and it still wouldn’t pull in the custom “not found.” Any ideas?So I got the child theme to recognize the new loop-index.php. How can I target a specific response for just the Portfolio items that have the Employment category?
Here’s what I have so far:
<article class="entry"> <?php if ( 'portfolio' == get_post_type() && in_category( '46' ) ) { ?> <p class="entry-content" <?php avia_markup_helper(array('context' => 'entry_content')); ?>><?php _e('There are no year-round employment opportunities available at this time. Please check back again soon!', 'avia_framework'); ?></p> <footer class="entry-footer"></footer> <?php } else { ?> <header class="entry-content-header"> <h2 class='post-title entry-title'><?php _e('Nothing Found', 'avia_framework'); ?></h2> </header> <p class="entry-content" <?php avia_markup_helper(array('context' => 'entry_content')); ?>><?php _e('Sorry, no posts matched your criteria', 'avia_framework'); ?></p> <footer class="entry-footer"></footer> <?php } ?> </article>
Ah, yes. Thanks, that works.
Although it would be nice to know why it isn’t applying the formatting from the original, this work around will work..header-padding didn’t work. I tried
@media only screen and (min-width: 768px) { #av_section_1.avia-builder-el-first { padding-top:175px !important; } }
While this fixed the padding issues on the headers that shrunk, it also adds unnecessary padding to the ones that were working before (see link in private content)
Is this what you need?
Added the wrong page links. Here’s the correct ones (private content)
Awesome, that worked perfectly. Thanks!
I know. Weird, right? I uninstalled and reinstalled my child theme and that made it display again. However, it was still showing the “Update Available” notification.
When I changed the name of the child theme folder, the update notification went away, but it wouldn’t display a few elements of the theme like the slider and the admin bar.
If there’s no way to clear the update message, I guess I’ll just leave it alone. But it would be nice to have it gone.
Thank you for your quick response. Not ideal, but that will be an ok work around.
I would also like to see this. Has this feature been added to the Enfold Photography Theme? If not, is there a way to turn off the flyouts?
February 13, 2015 at 5:21 am in reply to: Widget areas not showing up in correct location after site move #395498Not exactly sure how, but I think this issue is resolved for me. Maybe the steps I did below will help you pharefm?
Our dev did a hard find/replace in the database before the migration, so I had him double check the solution found on http://theandystratton.com/2011/lost-widgets-when-migrating-domains-server for missing widgets.
We compared the databases after the migration and found that the following tables were out of sync in a serialized string:
dashboard_widget_options
itsec_backup
avia_options_enfold_childHe corrected the “s:” value so that it correctly reflects the size of the new database. This didn’t initially solve the issue, but it did restore some of the text widgets I was missing.
On a whim, I went into Appearance > Customize. I deleted the widgets in the Index Sidebar box and added new widgets to that sidebar. Not sure why/how, but it flushed something in the settings and my widget areas were now showing up on the correct pages, but the wrong widgets were in the sidebars. So I just had to move the correct widgets to the correct sidebars.
- This reply was modified 9 years, 10 months ago by leviticus.
February 12, 2015 at 7:46 pm in reply to: Widget areas not showing up in correct location after site move #395277Does that mean I need to uninstall everything and start from scratch or is there a way to repair the existing database?
If so, is there a way to delete the existing custom widget areas and add new ones?
- This reply was modified 9 years, 10 months ago by leviticus. Reason: additonal question
February 11, 2015 at 9:17 pm in reply to: Widget areas not showing up in correct location after site move #394679This reply has been marked as private.If so, is there a way to add that back in?
Does this happen on regular pages as well? I noticed that my pages aren’t displaying their featured images at the top like they are supposed to.
October 18, 2014 at 7:07 pm in reply to: Add event categories to Upcoming Events (Plugin Addition) #337718Not quite what I’m after. I’d like the event category to show per event listed in it’s individual
<div class="av-upcoming-event-data"></div>
rather than the entire plugin block. So an event marked with the cancelled event category would show up something like<div class="av-upcoming-event-data tribe-events-category-cancelled"></div>
.Is this possible?
-
AuthorPosts