Viewing 30 results - 4,471 through 4,500 (of 11,211 total)
  • Author
    Search Results
  • #988903

    Hey Awaken_Productions,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    #top #wrap_all .avia-slideshow-button, #top .avia-button {
        border: 4px solid #666;
        opacity: 0.6;
        color: #fff;
        background: #272020a8;
    }
    

    You can play with the values in the code above.

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #988792

    In reply to: Schriftarten und DSGVO

    Hey meyerhuber-wondratschek-archiv,

    1) Wenn ich eine Google-Fonts-Schriftart wähle, wird dann eine Verbindung zu den Google-Servern hergestellt?

    Ja, es wird dann eine Verbindung zu https://fonts.google.com/ bei jedem Seitenaufruf hergestellt.

    2) Zu welchem Server wird eine Verbindung hergestellt, wenn ich eine Schriftart von Websafe Fonts wähle?

    Websafe Fonts sind solche Fonts, welche auf Mac/PC/Linux-Computern im Regelfall vorinstalliert sind. Es werden daher nur lokale, beim Website-Besucher vorinstallierte Fonts verwendet. Ein Download von zusätzlichen Font-Dateien, sei es über den eigenen Server oder Drittanbieter wie Google Fonts, unterbleibt.

    3) Wie kann ich das Laden von Schriftarten von externen Servern unterbinden und die Schriftart stattdessen von meinem Webspace laden?

    a) Stelle sicher, dass die aktuelle Enfold 4.4.x Version installiert ist.

    b) Dann lade die gewünschten Font-Dateien von Google Fonts ( https://fonts.google.com/ ) herunter.  Hierzu einfach auf das rote Plus neben dem Fontnamen klicken, dann erscheint unten ein Balken mit “1 Family Selected” (man kann natürlich auch mehrere Schriften auswählen). Dann auf den Balken klicken und anschließend auf das Download-Symbol in der rechten Ecke. Der Browser fragt dann, wo die zip-Datei gespeichert werden soll – diese irgendwo ablegen, wo man sie schnell findet. 

    c) Dann gehe zu Enfold > Theme Optionen > Import/Export. Dort gibt es ganz unten eine Option “Custom Font Manager”.  Dort auf den blauen Button “Upload/Select Font Zip File” klicken und die zip-Datei auswählen, welche vorher von Google Fonts heruntergeladen wurde. Diese hochladen und den “Save all changes” Button anklicken.

    d) Zuletzt wieder zurück zu “Enfold > Allgemeines Styling” und dort im Reiter “Schriften” in den Auswahllisten (Dropdowns) von ganz unten (ganz am Ende der Liste) aus der Sektion “Uploaded Fonts” die gewünschte Schriftart auswählen. 

    Liebe Grüße,
    Dude

    #988778

    Hey 805ITS,

    You might want to add the widget area to the header and add the button there, hide the area on desktop size screen and show on mobile.

    Best regards,
    Victoria

    #988728
    therooob
    Participant

    Hey guys,

    I’m having a problem I just can’t fix. Even googling in your awesome forum didn’t help this time.
    My page doesn’t display the icon of the “jump to the top button”, as well as the social media button icons at the top of the page.
    I have worked with enfold on another page, I didn’t have this problem there. Can you help me please?

    Thanks in advance. Best regards,
    Robert

    #988661
    bruwa
    Participant

    Hi

    is there a way to replace the cart-icon and the text “Choose an option” on the product-overview page (variable products)
    Please see the private field.
    To me this icon does not make sense as it suggests “add-to-cart”, which it doesn’t.

    – I would like to replace the “cart-icon” icon with the “icons-shop-options.png” icon from the folder “wp-content/themes/enfold/config-woocommerce/images”.
    – At the same time I would like to change its text to “Details ansehen” [“Show details”] – on hover..
    Of course: without changing the button’s action.

    Thanks,
    Bruno

    Hey Ganubis,

    Thank you for using Enfold.

    This script should apply a rel attribute to the single add to cart buttons. Just add it in the functions.php file.

    add_action('wp_footer', 'ava_add_rel_nofollow');
    function ava_add_rel_nofollow(){
    	?>
    	<script type="text/javascript">
    		(function($) {
    			$('.single_add_to_cart_button').attr('rel', 'nofollow');
    		})(jQuery);
    	</script>
    	<?php
    }

    Best regards,
    Ismael

    #988485
    Andreas_BS
    Participant

    Hello Enfold Team,
    I would like to set a different color for visited links. But when i add
    a:visited {color: example;}
    to quick CSS, also the visited button links change the color. I don’t want that.
    What is the best way to change only the visited text links?

    Greetings

    Andreas

    #988299

    Hey GreenSunSolutions,

    Here is the code to hide the button, you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    #scroll-top-link {display: none; }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #988271

    Hi,
    There should be no problems adding your child theme at this point, but you will need to gather your codes that you added to your functions.php and add them to your child theme functions.php
    The css you added to your Quick CSS will be imported into your child theme.
    The only issue that some have, is clicking the wrong button when installing the child theme, I’ll explain more about this below.
    While you can add codes to the header easily without installing a child theme, you will run the risk of losing all of your custom functions.php codes if you update the Enfold theme.

    When you are ready to install the child theme, please disable all caching and copy all of your custom functions.php codes to a text file, then copy all of your quick css to another text file (because our moto is is “back it up”, right :) then go to Enfold Theme Options > Import/Export > Export Theme Settings File, and save it to your computer “back it up”
    Then go to the link in the Private Content area and download the child theme file, please don’t use a plugin for this step, download the real child theme and upload it to your themes and activate.
    Then Go to Enfold > Import/Export > Import Parent Theme Settings and click the blue button “Import Parent Theme Settings”

    When this is done, you will need to go to your homepage and refresh a couple of times and clear your browser cache a couple of times. In some rare cases a couple of colors won’t be right, typically the link colors, don’t panic, this is rare, just let us know and link to your “Theme export file” that you saved earlier.

    The last step is to add your custom functions.php codes into your child theme functions.php

    I hope this helps put your mind to ease, and remember you can also do a full backup via your webhost to be really sure.

    Best regards,
    Mike

    Hi,
    Sorry you will not be able to allow other pages while in maintenance mode.
    But you can display content in modal windows, or lightbox popups.
    This will allow you to hide the content until someone clicks to see your legal texts and confirmations which will be stored in a code block element.
    First add this code to the end of your functions.php file in Appearance > Editor:

    function popup_inline() { ?>
    <script type="text/javascript">
    jQuery(window).load(function(){
    	jQuery('.open-popup-link').magnificPopup({
    	  type:'inline',
    	  midClick: true
    	});
    });
    </script>
    <?php }
    
    add_action('wp_head', 'popup_inline');

    Then add this code in the General Styling > Quick CSS field:

    .white-popup {
      position: relative;
      background: #FFF;
      padding: 20px;
      width: auto;
      max-width: 500px;
      margin: 20px auto;
    }

    you can adjust the max-width to suit your needs, but try this code to start with.

    Then in a code block on your maintenance page add this code:

    <a href="#test-popup" class="open-popup-link">Click this button to open form in lightbox</a>
    
    <div id="test-popup" class="white-popup mfp-hide">
    YOUR SHORTCODE GOES HERE
    </div>

    Notice that the first line is the link trigger to open the popup, and the popup is below. Just replace the text “YOUR SHORTCODE GOES HERE” with your text or advanced layout builder shortcode.

    To have more than one on a page, simply change the ID for each popup (id=”test-popup”) and trigger so it is unique.

    To get the advanced layout builder shortcodes Enable the Avia Layout Builder Debug and copy the shortcodes from the debug window.

    After you do this once or twice, you will see this is easy to do.

    Best regards,
    Mike

    #987935

    Hi strengthcoaching,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    #top #wrap_all .header_color #menu-item-2980.av-menu-button-colored > a .avia-menu-text {
        background-color: #7e888a;
        color: #ffffff;
        border-color: #969d9e;
    }
    #top #wrap_all .header_color.header-scrolled.header-scrolled-full #menu-item-2980.av-menu-button-colored > a .avia-menu-text {
      padding: 7px;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #987932

    Hey asapevictions,

    You need to set a different color for the menu links for the header transparency here in Theme options > Header
    Image 2018-07-20 at 18.39.09.png

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    #top #wrap_all .header_color .av-menu-button-colored > a .avia-menu-text {
        background-color: #344559;
        color: #ffffff;
        border-color: #344559;
    }
    
    #top #wrap_all .header_color.av_header_transparency .av-menu-button-colored > a .avia-menu-text {
        background-color: #e3e5e6;
        color: #332c2c;
        border-color: #e5e6ea;
    }
    

    If you need further assistance please let us know.
    Best regards,
    Victoria

    thedigitalwriter
    Participant

    Hi there, please can you assist:

    Theme – clicked on the reset all button thinking it would reset the current options, but it reset other things, now I cannot update the main menu hover and select colours to my colour of choice.

    Another is the footer wording – powered by Enfold WordPress Theme – I would like to hid this as I am developing websites and would like to offer development to my clients and would use Enfold as a theme for them.

    Lulu

    #987473

    i think he likes to add an ID to an Enfold ALB Button!
    There are scripts to achieve this, but then the class should definitely only exist once! – otherwise you will have double ID conflicts !

    give the button itself a unique class (in my case: unique-class )
    add this to functions.php of your child-theme:

    function add_ID_to_unique_class() { 
    ?>
    <script>
    (function($){
    	$(document).ready(function(){ 
      		$('.unique-class .avia-button').attr('id', 'what-you-like');
    	});
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'add_ID_to_unique_class');

    If you have this often – then i would edit that alb element to have an id Input field – put it in child-themes/shortcodes folder and load that.
    Instructions: https://webers-testseite.de/edited-enfold-alb-elements/
    See here: https://pastebin.com/EE3b0wX4
    Download here: https://pastebin.com/dl/EE3b0wX4

    • This reply was modified 7 years, 8 months ago by Guenni007.

    Hey Craig,

    Thank you for using Enfold.

    Are you using the theme’s social share section? The twitter button will only use the title and the shortlink (wp_get_shortlink). It won’t be able to detect Yoast’s twitter card options. You’ll find this pattern in the includes > helper-social-media.php file.

    'twitter' 	=> array("encode"=>true, "encode_urls"=>false, "pattern" => "https://twitter.com/share?text=[title]&url=[shortlink]"),
    

    Best regards,
    Ismael

    uribinsted
    Participant

    Hi,
    I am working on a new website and I have one last issue:
    We want to display images of our work using the portfolio Masonry gallery with 6 different categories.
    for each portfolio-item I just gave a name, preview image, in the Overwrite Portfolio Link setting: Define Custom link with the image URL.

    I have installed the latest Enfold version (4.4.1) with Enfold Child theme, and WordPress 4.9.7.

    We want to have the option that when sorting one category, only items from that category will be displayed.
    currently, although sorting when navigating the images it displays all the images.

    I tried to find a solution in the forum and also tested all the solutions in https://kriesi.at/support/topic/previous-next-buttons-only-same-category/
    but none worked for me.

    Best Regards
    Uri

    #987023

    Hi,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    @media only screen and (min-width: 768px) and (max-width: 1024px) {  
      .avia-fullwidth-slider, .avia-fullwidth-slider .avia-slideshow,
       .avia-fullwidth-slider .avia-slideshow-inner, .avia-fullwidth-slider .avia-slideshow-inner li {
          min-height: 400px;
      }
      .avia-slideshow li img {
        min-height: 400px;
        height: 400px;
        width: 120%;
        max-width: 120%;
      }
      .avia_transform .av_slideshow_full .active-slide .avia-caption-title {
        font-size: 24px !important;
      }
    }
    @media only screen and (max-width: 767px) {
      .avia_transform .av_slideshow_full .avia-caption-content, 
    .avia_transform .av_slideshow_full .avia-caption-title,
     .avia_transform .av_fullscreen .avia-caption-content,
      .avia_transform .av_fullscreen .avia-caption-title,
       .avia_transform .av_fullscreen .avia-slideshow-button, 
       .avia_transform .av_slideshow_full .avia-slideshow-button {
         visibility: visible;
       }
    }
    
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #986916

    Topic: Can't edit blog page

    in forum Enfold
    neilkingham
    Participant

    Hi – I can’t edit my sites main blog page using the advanced editor. I click on the ‘Advanced Layout Editor’ button but then the page info doesn’t load, I just get the circling ‘loading’ icon. Other pages work fine.

    I have tried:

    Using different browsers
    Clearing my cache
    Disabling all plugins

    I am on the latest version of WP and Enfold

    craigriches
    Participant

    Hi there,
    I am using Yoast (just so you know) and I have created all my Woocommerce products using the ALB.
    I have set up my Twitter Card and the image for an example product shows correctly, I have also tested the card in the Twitter validator which appears to check out ok and the site is whitelisted as there is no prompt for that and the generated log finds the metatags, but the generated preview is not a large image as intended or configured within Yoast or the Product setting.
    When I test a share to Twitter using the share element button all it generates is an abbreviated url link and not a summary with a large image as it is supposed to do.
    Is this a failure of Enfold, or a clash with Yoast or something else that I have not done?
    Links to screenshots in pvt content.

    #986838

    In reply to: social icons

    Dear Basilis,
    the css code is in the child theme… what you mean with i add it back? I just only need to know why it’s not working the code in here: https://kriesi.at/documentation/enfold/social-share-buttons/ I erase it already as it’s not working

    is this one:

    /*—————————————-
    // CSS – Social Share style – 4
    //————————————–*/

    /* Hide tool tip */
    .av-social-sharing-box .avia-related-tooltip {
    display: none !important;
    }

    /* Remove icon border */
    #top .av-social-sharing-box .av-share-box ul li {
    border-left-style: none;
    display: inline-block;
    vertical-align: middle!important;
    margin: 0 10px 0 0;
    }

    /* Icon style */
    #top .av-social-sharing-box .av-share-link a {
    width: 30px!important;
    height: 30px!important;
    border-radius: 30px:!important;
    padding: 3px 0 !important;

    }

    /* Icon color */
    .av-social-sharing-box .av-share-link a:before {
    color:#fff;
    transition: all .5s ease;
    }

    /* Icon */
    #top .av-social-sharing-box .av-share-link a {
    border-radius: 30px;
    }

    /* Back ground color */
    #top .av-social-sharing-box .av-social-link-rss a{color:#fff; background-color:#ffa133; }
    #top .av-social-sharing-box .av-social-link-facebook a{color:#fff; background-color:#37589b; }
    #top .av-social-sharing-box .av-social-link-twitter a{color:#fff; background-color:#46d4fe; }
    #top .av-social-sharing-box .av-social-link-mail a{color:#fff; background-color:#9fae37; }
    #top .av-social-sharing-box .av-social-link-dribbble a{color:#fff; background-color:#e44885; }
    #top .av-social-sharing-box .av-social-link-linkedin a{color:#fff; background-color:#419cca; }
    #top .av-social-sharing-box .av-social-link-search a{color:#fff; background-color:#222222; }
    #top .av-social-sharing-box .av-social-link-gplus a{color:#fff; background-color:#de5a49; }
    #top .av-social-sharing-box .av-social-link-behance a{color:#fff; background-color:#008cfa; }
    #top .av-social-sharing-box .av-social-link-flickr a{color:#fff; background-color:#ff0086; }
    #top .av-social-sharing-box .av-social-link-forrst a{color:#fff; background-color:#234317; }
    #top .av-social-sharing-box .av-social-link-myspace a{color:#fff; background-color:#000000; }
    #top .av-social-sharing-box .av-social-link-tumblr a{color:#fff; background-color:#345574; }
    #top .av-social-sharing-box .av-social-link-vimeo a{color:#fff; background-color:#31baff; }
    #top .av-social-sharing-box .av-social-link-youtube a{color:#fff; background-color:#a72b1d; }
    #top .av-social-sharing-box .av-social-link-pinterest a{color:#fff; background-color:#cb2027; }
    #top .av-social-sharing-box .av-social-link-skype a{color:#fff; background-color:#12a5f4; }
    #top .av-social-sharing-box .av-social-link-instagram a{color:#fff; background-color:#a67658; }

    #986783
    Lionco
    Participant

    Hi there,
    I have just installed Enfold onto a website (updated from Avada) and we love it thank you!
    I have a weird issue on all of the download buttons. There is a small, blue arrow graphic and I would like to know how to get rid of it please? I have included a screenshot of the entire line so you can see it’s just on the download button.
    Many thanks – Joel

    arrows on download button

    #986540

    In reply to: update version Enfold

    This reply has been marked as private.
    #986406
    bruwa
    Participant

    Hi
    I want to add an Easy Slider to the Welcome page.
    However, when I open a page (either a new or an existing one) and click on the button “Advanced Layout Builder” – nothing happens.
    No sign of the ALB visible. I expected some drag and drop web elements to show up.

    In the Enfold Child > Layout Builder section the ALB is activated, no option (disable, remove …) is ticked.

    Am I missing something?

    Thanks,
    Bruno

    • This topic was modified 7 years, 8 months ago by bruwa.
    #986375
    Freek
    Participant

    Hi,

    I use WPML for a multi language site and I have a strange problem on a mobile with selecting a language.
    When I click on the language buttons nothing happens.See https://bergjeths.com on a mobile device. On a desktop it works fine.
    I use the following custom css code:

    /* WPML Flags Country Code */
    li.menu-item.menu-item-language.menu-item-language-current.dropdown_ul_available, #header_meta ul.avia_wpml_language_switch.avia_wpml_language_switch_extra,.language_flag img {display: none !important;}
    .header_color li.language_en.avia_current_lang span.language_code {text-decoration: underline; color: #ffffff !important;}
    .header_color li span.language_code {color: #ffffff !important; display: block !important; text-transform: uppercase; font-size: 16px; font-weight: normal; font-family: 'Exo', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;}
    #top ul.avia_wpml_language_switch li {margin: 0; padding: 0 5px; border: none; border-left: 1px solid #ffffff; height: 14px;}
    #top ul.avia_wpml_language_switch li:first-child {border-left: none;}
    #top ul.avia_wpml_language_switch li a {position: relative; top: -12px;}
    #top ul.avia_wpml_language_switch.avia_wpml_language_switch_extra {position: absolute; top: 82px;}
    #top .header-scrolled ul.avia_wpml_language_switch.avia_wpml_language_switch_extra {position: absolute; top: 15px;}
    .avia-menu.av-main-nav-wrap {margin-right: 130px;}
    
    /* WPML Flags Country Code */
    @media only screen and (max-width: 990px) {
    #header_main_alternate { display: block !important; border: none !important; }
    #top ul.avia_wpml_language_switch.avia_wpml_language_switch_extra {position: absolute; top: 0px;}
    } 

    and the following PHP code in function.php:

    add_action('after_setup_theme','avia_remove_main_menu_flags');
    function avia_remove_main_menu_flags(){
    	remove_filter( 'wp_nav_menu_items', 'avia_append_lang_flags', 20, 2 );
    	remove_filter( 'avf_fallback_menu_items', 'avia_append_lang_flags', 20, 2 );
    	remove_action( 'avia_meta_header', 'avia_wpml_language_switch', 10);
    }
    
    add_action('init', 'avf_add_flags');
    function avf_add_flags() {
    	add_action( 'ava_inside_main_menu', 'avia_wpml_language_switch', 10);
    }
    
    add_action('init','ava_remove_lang_flags', 9999);
    function ava_remove_lang_flags() {
    	remove_filter( 'wp_nav_menu_items', 'avia_append_lang_flags', 9998, 2 );
    	remove_filter( 'avf_fallback_menu_items', 'avia_append_lang_flags', 9998, 2 );
            remove_action( 'avia_meta_header', 'avia_wpml_language_switch', 10);
            add_action('avia_after_footer_columns', 'avia_wpml_language_switch', 10);
    }

    I also use a widget area in the header with following code in functions.php:

    add_action( 'ava_after_main_menu', 'enfold_customization_header_widget_area' );
    function enfold_customization_header_widget_area() {
    	dynamic_sidebar( 'header' );
    }

    Can you help me out on this or point me in the right direction?
    THX Freek

    #986268
    stmaryswines
    Participant

    Hi,

    WP 4.9.7
    Enfold 4.4.1
    Layerslider 6.7.1

    We’ve copied a slider that was set up before and we can’t get the navigation to show. We have all the show navigation buttons set to show. Is there anything else that we meed to do?

    The website is http://stmaryswines.com.

    Thanks for any help you can give us,
    Karen

    • This topic was modified 7 years, 8 months ago by stmaryswines.
    #986036

    Ok, the snippet to reverse the next/prev buttons works! But still no go on the limiting to the same category. I made a new portfolio item and put it in it’s own category. No other portfolio items with that category at all. And it still shows the next button and just goes through all portfolio items:

    I’m using

    add_filter('avia_post_nav_settings', 'avia_post_nav_settings_mod');
    function avia_post_nav_settings_mod($settings)
    {
      if(is_singular('portfolio')) {
        $settings['taxonomy'] = 'portfolio_entries';
        $settings['same_category'] = true;}
      return $settings;
    }

    The full functions.php is:

    <?php
    	
    add_filter('avf_postgrid_excerpt_length','avia_change_postgrid_excerpt_length', 10, 1);
    function avia_change_postgrid_excerpt_length($length)
    {
       $length = 300;
       return $length;
    }
    
    add_filter('avia_post_nav_settings', 'avia_post_nav_settings_mod');
    function avia_post_nav_settings_mod($settings)
    {
      if(is_singular('portfolio')) {
        $settings['taxonomy'] = 'portfolio_entries';
        $settings['same_category'] = true;}
      return $settings;
    }
    
    add_filter( 'avia_post_nav_entries', 'enfold_customization_postnav', 10, 2); 
    function enfold_customization_postnav($entries, $settings) {
        $entries['prev'] = get_next_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);
        $entries['next'] = get_previous_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);
        return $entries;
    }
    #985812

    In reply to: Google API issue

    Hi,

    Thanks for the update.

    Add the API key in the Enfold > Google Services panel without clicking the “Check API key” button. Just save the theme options. Or post the API key in the private field and then we’ll try to add it. Did you disable the Geocoding Services API in the API manager?

    Best regards,
    Ismael

    #985562
    aovivo
    Participant

    Hi there,
    I just ran into the issue, that I cant click on the cart button when using smartphone – website and other devices seem fine.
    I noticed that this has been an issue in some enfold/woocommerce files explained in an older ticket here: #914350

    I actually have added the css code provided by support team and it works.

    BUT still, can you look into this, why the woocommerce file has this issue?

    thanks!
    my best regards
    a.-

    datadirt
    Participant

    Dear Enfold team,

    I have a question which is probably quite easy to answer for you – I tried searching the board though and couldn’t find a solution.

    I’m using a php snippet which inserts the last updated date of single posts, if the updated date differs from the publishing date.

    This is the snippet:

    function wpds_last_updated_date( $content ) {
    $u_time = get_the_time('U'); 
    $u_modified_time = get_the_modified_time('U'); 
    if ($u_modified_time >= $u_time + 86400 && is_single() ) { 
    $updated_date = get_the_modified_time('j. F Y');
    $updated_time = get_the_modified_time('G:i'); 
    $custom_content .= '<p class="last-updated">Zuletzt aktualisiert am '. $updated_date . ' um '. $updated_time .'</p>';  
    } 
     
        $custom_content .= $content;
        return $custom_content;
    }
    add_filter( 'the_content', 'wpds_last_updated_date' );

    Everything works fine on “regular” blog pages, like here – the updated date is inserted between my social sharing buttons and the first paragraph:
    updated date 1

    But when I use the avia page builder for blog postings (which I love to do for complex layouts), the updated date gets inserted right before the first element:
    avia blog posting

    This updated info is really important to me – any chance to change the insertion position on avia postings?

    greetings,
    Ritchie

    • This topic was modified 7 years, 8 months ago by datadirt.
    #985461

    to have vice-versa post navs you can use this:

    add_filter( 'avia_post_nav_entries', 'enfold_customization_postnav', 10, 2); 
    function enfold_customization_postnav($entries, $settings) {
        $entries['prev'] = get_next_post($settings['same_category']);
        $entries['next'] = get_previous_post($settings['same_category']);
        return $entries;
    }

    and sorry i did not read that it is a portfolio:
    the portfolio “categories” aren’t real categories – they are ( as for events too) taxonomies:

    add_filter('avia_post_nav_settings', 'avia_post_nav_settings_mod');
    function avia_post_nav_settings_mod($settings)
    {
      if(is_singular('portfolio')) {
        $settings['taxonomy'] = 'portfolio_entries';
        $settings['same_category'] = true;}
      return $settings;
    }

    PS: please use for code the code block element on top of the input field:
    click once code – enter your code – click it a second time
    or enter your code – activate the whole code you entered with your mouse – press once code button.
    the code is therefore difficult to read and to check – in addition, certain characters are converted by Boardsoft. The code in the code block can be copied and inserted directly to your functions.php of your child-theme

    • This reply was modified 7 years, 8 months ago by Guenni007.
Viewing 30 results - 4,471 through 4,500 (of 11,211 total)