Forum Replies Created
-
AuthorPosts
-
Hi,
Thank you for the update.
I imagine the administrator continues to see all the posts right?
When the hook above is used, only posts created by the active user are displayed, even for admin users. It will only work in the backend or dashboard.
Best regards,
IsmaelHi,
Great! Glad to know that you managed to work this out. Please feel free to open another thread if you have more questions about the theme.
Have a nice day.
Best regards,
IsmaelHi,
Thank you for the info.
Instead of using the plugin, try to download the font from Google, upload it to the Enfold > Import/Export > Custom Font Manager, then select it as the body or heading font in the Enfold > General Styling > Fonts tab. For more info, please check the link below:
// https://kriesi.at/documentation/enfold/typography/#how-to-upload-custom-fonts
Best regards,
IsmaelHey tonyiatridis,
Thank you for the inquiry.
Did you set the Services page as the parent of the Outdoors page? It might be underlined because the Services page is the ancestor of the current page. You may need to deselect the page as the parent or just remove the Outdoors menu item completely from the menu.
You can also try this css code:
.current-menu-item:not(.current_page_parent) > a > .avia-menu-fx { opacity: 0; }Best regards,
IsmaelHi,
No problem! Glad we could be of help. Please feel free to open another thread should you have more questions about the theme.
Have a nice day.
Best regards,
IsmaelHi,
Thank you for the info.
In the future, you can always find the latest version of WordPress here: https://wordpress.org/download/
Best regards,
IsmaelHi,
Thank you for the inquiry.
Did you override the header.php file or the footer.php file in your child theme? Please make sure to get the latest copy of the template files and redo the modifications. Also, try toggling or temporarily disabling the Enfold > Performance > File Compression settings after updating the template files.
Best regards,
IsmaelHey cuccarini,
Thank you for the inquiry.
You can use this filter in the functions.php file to display only posts created by the active user:
function av_filter_posts_by_current_user($query) { if (is_admin() && $query->is_main_query() && $query->get('post_type') === 'post' && current_user_can('edit_posts')) { $current_user_id = get_current_user_id(); $query->set('author', $current_user_id); } } add_action('pre_get_posts', 'av_filter_posts_by_current_user');Best regards,
IsmaelHi,
Thank you for the info.
We edited the functions.php file and adjusted the filter to keep the sticky posts on the front page and disable them on the category pages.
function exclude_sticky_posts_from_category_pages_filter($query) { if (is_admin()) { return $query; } if (is_front_page()) { $include = array(); $sticky = get_option('sticky_posts'); $args = array( 'post__not_in' => $sticky, 'category__in' => array(4, 31, 51, 52), ); $posts = get_posts($args); foreach ($posts as $post) { $include[] = $post->ID; } $include = array_merge($sticky, $include); $include = array_map('intval', $include); $query['post__in'] = $include; $query['orderby'] = 'post__in'; return $query; } if (is_category()) { $sticky_posts = get_option('sticky_posts'); if (!empty($sticky_posts)) { $query['post__not_in'] = $sticky_posts; } } return $query; } add_filter('avia_post_slide_query', 'exclude_sticky_posts_from_category_pages_filter');Please make sure to delete the cache before checking the pages.
Best regards,
IsmaelHi,
Thank you for the update.
Please check the privacy modal and look at tabs 3 and 4. You’ll find the same privacy toggles in both tabs. Please remove the duplicate toggles or remove the entire tab in the Enfold > Privacy & Cookies > Cookie Handling > Modal Popup Window section.
The script above removes the role attribute from the specified elements:
Header:
<header id="header" class="all_colors header_color light_bg_color av_header_top av_logo_left av_main_nav_header av_menu_right av_custom av_header_sticky av_header_shrinking av_header_stretch_disabled av_mobile_menu_phone av_header_transparency av_header_glassy av_header_searchicon_disabled av_header_unstick_top av_seperator_small_border av_bottom_nav_disabled av_alternate_logo_active" data-av_shrink_factor="50" itemscope="itemscope" itemtype="https://schema.org/WPHeader" style="margin-top: 0px;">Menu:
<nav class="main_menu" data-selectname="Velg en side" itemscope="itemscope" itemtype="https://schema.org/SiteNavigationElement"> <div class="avia-menu av-main-nav-wrap"> <ul role="menu" class="menu av-main-nav" id="avia-menu"> </nav>If you want to remove this manually from the template, edit the enfold/includes/helper-main-menu.php file and remove the avia_markup_helper function around line 213:
$main_nav = "<nav class='main_menu' data-selectname='" . __( 'Select a page', 'avia_framework' ) . "' " . avia_markup_helper( array( 'context' => 'nav', 'echo' => false ) ) . '>';Best regards,
IsmaelHey alessandrod44,
Thank you for the inquiry.
Yes, you can use the WPML plugin to create a multi-language website and register a different menu for each language. Please check the documentation below for more info.
// https://wpml.org/documentation/getting-started-guide/translating-menus/
Another option is Polylang: https://wordpress.org/plugins/polylang/
Best regards,
IsmaelHey Alessandro,
Thank you for the inquiry.
Please go to your Themeforest account, access the Enfold theme in the Downloads page, then download the License Certificate. You should find the valid purchase code info in the certificate. You can then use this code to register an account in the forum.
// https://kriesi.at/support/register/
Best regards,
IsmaelHi,
Thank you for the inquiry.
We can’t find any links or buttons in the section. Would you mind providing a screenshot of the issue? You can use platforms like Savvyify, Imgur or Dropbox to upload and share the screenshot.
Best regards,
IsmaelHey sunseekertours,
Thank you for the inquiry.
How did you register the Seymour One font? Did you upload the font using the Custom Font Manager? You might need to select it as the heading or body font in the Enfold > General Styling > Fonts tab.
Best regards,
IsmaelHi,
Great! Glad to know that this has been resolved. Please feel free to open another thread if you have more questions.
Have a nice day.
Best regards,
IsmaelJuly 17, 2024 at 7:14 am in reply to: Strange behavior on frontpage with spacial heading and language switcher (wpml)? #1462212Hi,
Thank you for the info.
The FR language has the following custom CSS, which overrides the custom 25px bottom padding of the Special Heading element. Did you add this css code?
#main .container_wrap_first .av-special-heading { margin-top: 0px; padding-top: 12px; padding-bottom: 8px; }Best regards,
IsmaelHey Nihru,
Thank you for the inquiry.
Have you tried using the Video from the Advance Layout Builder? Please post a screenshot of the issue or provide a link to the page with the embedded videos. You can use platforms like Savvyify, Imgur or Dropbox to upload and share the screenshot. Here are the steps to follow:
1.) Visit the website of your chosen platform, such as Savvyify, Imgur or Dropbox.
2.) Locate the option to upload a file or an image.
3.) Select the screenshot file from your computer or device and upload it to the platform.
4.) After the upload is complete, you will be provided with a shareable link or an embed code.
5.) Copy the link or code and include it in your message or response to provide us with the screenshot.Thank you for taking the time to share the screenshot. It will help us better understand the issue you’re facing and provide appropriate assistance.
Best regards,
IsmaelHey Qgrafica_7,
Thank you for the inquiry.
The Iconbox element doesn’t include a background option by default. However, you can place it inside a Column element and apply the background to the column instead. Let us know if this works for you.
Best regards,
IsmaelHi,
Thank you for the update.
What do you mean by “selective portfolio items”? The Additional Portfolio Settings > Link portfolio item to external URL can be customized for each individual portfolio item.
Best regards,
IsmaelHi,
No problem! Glad we could be of help. Please feel free to open another thread if you have more questions about the theme.
Have a nice day.
Best regards,
IsmaelHi,
In our previous message, we requested login credentials to access the dashboard. Please provide the details in the private field.
Best regards,
IsmaelHi,
Thank you for the update.
You can just directly apply the class name to $post_class variable that we mentioned above.
$is_guest = get_field('is_guest', $the_id); $guest_class = $is_guest ? 'is-guest' : ''; $post_class = "post-entry post-entry-{$the_id} grid-entry-overview grid-loop-{$post_loop_count} grid-parity-{$parity} {$last} {$guest_class}";You can then use the “.is-guest” selector to add the ribbon or adjust the style of the guest items.
.is-guest { /* Styles for guest users */ /* Example styles: */ color: #333; background-color: #f0f0f0; /* Add more styles here */ }Best regards,
IsmaelHi,
Great! Let us know if you have more questions.
Have a nice day.
Best regards,
IsmaelHi,
Duplicate id – the same ID is used on more than one element.
id=aviaPrivacyGoogleWebfontsDisabled id=aviaPrivacyGoogleWebfontsDisabled id=aviaPrivacyGoogleMapsDisabled id=aviaPrivacyGoogleMapsDisabled id=aviaPrivacyVideoEmbedsDisabledUPDATE: Tabs 3 and 4 of the privacy modal popup window contain the same privacy toggles. Did you configure this?
Best regards,
IsmaelHey Advantage09,
Thank you for the inquiry.
Did you manually add a privacy toggle inside a tab section? This causes duplicate IDs for these elements:
id=aviaPrivacyGoogleWebfontsDisabled id=aviaPrivacyGoogleWebfontsDisabled id=aviaPrivacyGoogleMapsDisabled id=aviaPrivacyGoogleMapsDisabled id=aviaPrivacyVideoEmbedsDisabledAlthough it is not necessary, if you want to remove the role attributes from certain elements, you can use this script:
function ava_remove_roles_script() { ?> <script> (function ($) { function g() { $('#header').removeAttr('role'); $('.main_menu').removeAttr('role'); } $(document).ready(function () { g(); }); })(jQuery); </script> <?php } add_action('wp_footer', 'ava_remove_roles_script');Best regards,
IsmaelHey 360buddy,
Thank you for the inquiry.
We are not familiar with it but we’ve found a few plugins that might help. Please check the links below:
// https://wordpress.org/plugins/panorama/
// https://wordpress.org/plugins/search/panorama+360/Best regards,
IsmaelHey strumpumpel,
Thank you for the inquiry.
I would like that the .avia-caption-content below the .avia-caption-title.
This is the default position of the title and caption, but it was altered using this css code:
#seowie .caption_framed .slideshow_caption .avia-caption-title { top: 105px; position: relative; }Please remove the css code, then temporarily disable the Enfold > Performance > File Compression settings.
Best regards,
IsmaelHey woogie07,
Thank you for the inquiry.
If you don’t want the portfolio item to link to anywhere, you can set the Additional Portfolio Settings > Link portfolio item to external URL field to a hashtag (#). Let us know if this works for you.
Best regards,
IsmaelJuly 16, 2024 at 7:29 am in reply to: Change background for specific pages and center the text #1462126Hi,
Great! Please feel free to open another thread if you have more questions.
Have a nice day.
Best regards,
IsmaelHey Jak73,
Thank you for the inquiry.
1.) Please add this css code to remove the background of the language switcher.
.av-main-nav ul li.menu-item-language, .av-main-nav ul li.menu-item-language a, .av-main-nav .menu-item-language .sub-menu { background: transparent !important; box-shadow: none; border: none; }2.) To reduce the space between the language switcher and the active language, please include this css rule:
.av-main-nav .menu-item-language .sub-menu { margin-top: -20px; }Best regards,
Ismael -
AuthorPosts
