-
Search Results
-
Topic: Posts in wrong category
Hello
when i call “Category Opera” i see posts from “Category Opera” BUT i see also “Impress”, “GDPR-Declaration” and about ten other posts which dont belong to the “Category Opera”.
In fact: “Impress” and “GDPR” are not even posts – they are pages.I created a page called “Opera”
I added the masonry element
I picked “Show posts from Category”–> “Opera”[av_masonry_entries link='category,1' wc_prod_visible='' wc_prod_hidden='hide' wc_prod_featured='' prod_order_by='' prod_order='' date_filter='' date_filter_start='' date_filter_end='' date_filter_format='yy/mm/dd' period_filter_unit_1='1' period_filter_unit_2='year' sort='yes' query_orderby='date' query_order='DESC' caption_elements='title excerpt' caption_styling='' caption_display='always' size='fixed masonry' orientation='' image_size='masonry' gap='large' columns='2' av-medium-columns='' av-small-columns='' av-mini-columns='' items='12' paginate='load_more' color='' custom_bg='' overlay_fx='grayscale' animation='active' img_scrset='' lazy_loading='enabled' id='' custom_class='' template_class='' av_uid='av-l6gb8e5x' sc_version='1.0']This is the content of my functions:
<?php //$avia_config['imgSize']['square-custom'] = array('width'=>300, 'height'=>300); // small image for blogs //$avia_config['imgSize']['square2'] = array('width'=>400, 'height'=>400); // small image for blogs /* * Add your own functions here. You can also copy some of the theme functions into this file. * WordPress will use those functions instead of the original functions then. */ function enqueue_parent_theme_style() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); } add_action( 'wp_enqueue_scripts', 'enqueue_parent_theme_style'); /* Proper way to enqueue styles and scripts */ function theme_name_scripts() { wp_enqueue_style( 'style-name', get_stylesheet_uri() ); } add_action( 'wp_enqueue_scripts', 'theme_name_scripts' ); /* Activate Avia debug mode */ add_action('avia_builder_mode', "builder_set_debug"); function builder_set_debug() { return "debug"; } add_filter( 'widget_text', 'do_shortcode' ); add_filter('avf_title_args', 'fix_single_post_title', 10, 2); function fix_single_post_title($args,$id) { if ( $args['title'] == 'Blog - Aktuelle Neuigkeiten' ) { $args['title'] = get_the_title($id); $args['link'] = get_permalink($id); $args['heading'] = 'h1'; } return $args; }I can solve it by deleting the “wrong pages”, than flushing the permalinks, then adding the pages again (best with a new slug).
But is only possible with a small number of pagesI cant not show you live since i am an Xampp.
Eva Simone
We’re happy to announce that Enfold 5.0 is finally available. Since this is a major update, we would recommend that users update on a staging or development sites first.
Please see the change log below:
New demo: https://kriesi.at/themes/enfold-parallax/
feature: added position options (responsive) to: - Image - Button - Columns feature: added "Curtain Reveal Animations" (found in Animations Dropdown) to: - Image - Columns - Masonry - Masonry Gallery feature: added Animations Dropdown to: - Button feature: added parallax option (responsive) to: - Image - Columns feature: added transform options (perspective, rotate3d, scale3d, skew, translate3d) (responsive) to: - Image feature: added options to scale (zoom) and opacity for images when slide becomes active: - Easy Slider - Fullwitdh Easy Slider feature: minimum column height in % of surrounding layout container feature: theme option to disallow background image parallax and delayed animations on mobile (Performance Tab) - changed to be allowed by default feature: added swipe to all devices supporting touch screens (not only to mobile devices) feature: Extended Animations Dropdown with "Advanced Fade Animations", "Special Advanced Animations" feature: ALB Horizontal Gallery added rotation and styling options feature: ALB PostSlider added Navigation Dots feature: ALB Testimonial Slider added navigation styling and animation options feature: Adjusted options (and new options) for most sliders - under progress: - Slider Control Styling - Show Navigation Arrows and Dots (or none) - Custom colors for Navigation Arrows and Dots - Transitions and speed - Autorotate, end with last slide - Disable/Enable manual rotate (hide corresponding Navigation Arrows) feature: WPML global layout theme options - keep in sync options for all languages feature: added support for RankMath SEO plugin (active beta) tweak: CSS Burger Menu - remove space above mobile menu in landscape orientation and mobile devices tweak: support image links for slideshows with first slides caption as permanent caption tweak: option to add "alb templates" to top of page (not only to bottom) tweak: add option "Use custom link (fallback is image link)" to ALB Masonry Gallery tweak: ALB Tab Section new option "Deeplink String" (Advanced Tab -> Developer Settings) to set a custom link hash fixed: Block editor and ALB Tab Section have strange behaviour in backend fixed: Accordion Slider division by zero if no entries or images fixed: Anchor column link not working when set to open in the same window fixed: Block editor typography letter spacing not working fixed: Google Search only allows 1 tag FAQPage tweak: jQuery 3.0 remove deprecated $.proxy in all theme files: - enfold\config-gutenberg\js\avia_gutenberg.js - enfold\config-templatebuilder\avia-shortcodes\slideshow\slideshow.js - enfold\config-templatebuilder/avia-shortcodes/slideshow_accordion/slideshow_accordion.js - enfold\config-templatebuilder\avia-shortcodes\slideshow_fullscreen\slideshow_fullscreen.js - enfold\config-templatebuilder\avia-shortcodes\menu\menu.js - enfold\config-templatebuilder\avia-template-builder\assets\js\avia-tab-section.js - enfold\config-templatebuilder\avia-template-builder\assets\js\avia-tooltip.js - enfold\js\avia.js - enfold\js\shortcodes.js - enfold\framework\js\avia_sidebar.js - enfold\framework\js\conditional_load\avia_google_maps_api.js - enfold\framework\js\conditional_load\avia_google_maps_front.js - enfold\framework\js\conditional_load\avia_google_recaptcha_api.js tweak: jQuery 3.0 remove deprecated $.fn.focus() in js\aviapopup\jquery.magnific-popup.js updated: sync all language files version 5.0 (close to final release) updated: Dutch language files nl_NL (version 5.0 provided by EZWebdesign - Roger Hoen ) DEVELOPER: tweak: support json string for slideshow options in HTML (data-slideshow-json="...") added conditional body classes: - 'pointer-device-undefined', 'pointer-device-fine', 'pointer-device-coarse', 'pointer-device-coarse-only', 'pointer-device-none', - 'touch-device', 'no-touch-device' added: class aviaPopupTemplatesPlugins added: filter 'avf_css_rules_position' - allows to alter position rules top bottom left right added: filter 'avf_css_rules_animation_duration' - allows to alter animation-duration rules added: filter 'avf_css_rules_animation_delay' - allows to alter animation-delay rules added: filter 'avf_css_rules_transition_duration' - allows to alter transition-duration rules added: filter 'avf_el_styling_responsive_styles_skip' - skip creating rules on element basis added: filter 'avf_get_global_option_keys' - modify global options key attributes before adding to internal logic added: filter 'avf_is_global_option' - remove a global option attribute deprecated: AviaHelper::css_4value_helper() no longer needed removed: $.AviaParallaxElement - replaced by AviaObjectParallaxElement in enfold\js\avia-snippet-parallax.js renamed: function sonar_keyframes -> keyframes renamed: filter 'avf_css_rules_sonar_keyframes' -> 'avf_css_rules_keyframes'Topic: Custom ID images
Hi guys,
I’m adding some CSS to make my website work better on mobile.
The website is aligned left on desktop but I’d like to have it aligned center on mobile.
I have a series of small graphic dividers used across the whole website which I’d like to align center on mobile. I was thinking to add the same custom class to all those little dividers (they are jpeg, so inserted as images in a column) and then moving them all together on mobile. I can not figure out how to do that.
I started with:
@media only screen and (max-width:989px)
.avia-image-container-inner #greca {
float: right!important;
}Where #greca is the custom class, but it doesn’t work.
Any chance you can help me?
Many thanksDear Enfold developers,
I have 6 licences of enfold and 5 sites are productive now, i hope you can support me even if the support period is not valid.I have 2 questions …
First is maybe a bug, i get following errors:
Notice: Undefined variable: the_id in /var/www/vhosts/lueftenegger-architextur.at/httpdocs/wp-content/themes/enfold/footer.php on line 48
Notice: Undefined variable: the_id in /var/www/vhosts/lueftenegger-architextur.at/httpdocs/wp-content/themes/enfold/footer.php on line 73
Notice: Undefined variable: the_id in /var/www/vhosts/lueftenegger-architextur.at/httpdocs/wp-content/themes/enfold/footer.php on line 85It was fixed in footer.php in child-theme around line 47 …
/**
* Allows 3rd parties to change page id’s, e.g. translation plugins
*/
$post = AviaCustomPages()->get_custom_page_object( ‘footer_page’, ” );
// gerald: hack 18.12.2021: fix theme
if ( !isset($the_id )) {
$the_id = get_the_ID();
}
// end hack 18.12.2021: fix theme
if( ( $post instanceof WP_Post ) && ( $post->ID != $the_id ) )
{The second thing would be a little modification to the masonry grid. I would need the category description showing up when sorting via thecategory filters above the image bricks.
I have tried to code that, in the av-helper-masonry.php (line 438 – 559 and 583 – 588) in the enfold-child shortcodes folder but the text loads or updates only on second click. Maybe you can help me at this point, it is hard for me to understand the code, what the js does and the lots of css classes and ids in the masonry.
KR,
Gerald

















