Viewing 30 results - 331 through 360 (of 1,622 total)
  • Author
    Search Results
  • #1291470
    marladesign
    Participant

    Hello,
    I am looking to change the order of the posts using the blog posts element.

    I have 2 custom fields I can use either:
    newsdate (added manually)
    or
    xn-wppe-expiration (added by plugin to expire posts)

    I have added the following modified code to the functions.php on my child theme, tried the original posted cant find the link now but can add later if needed

    I’ve added the values 1,2,3,4,5 to the fields and selected the options added to the Blog posts section, I select Meta Value, News Date or Expiration Date and ascending or descending but it just reverts back to the post date as the sorting field, the values save properly as they stay when I go back in

    code added is:

    if(!function_exists(‘avia_custom_query_extension’))
    {
    function avia_custom_query_extension($query, $params)
    {
    global $avia_config;
    if(!empty($avia_config[‘avia_custom_query_options’][‘order’]))
    {
    $query[‘order’] = $avia_config[‘avia_custom_query_options’][‘order’];
    }

    if(!empty($avia_config[‘avia_custom_query_options’][‘orderby’]))
    {
    $query[‘orderby’] = $avia_config[‘avia_custom_query_options’][‘orderby’];
    }

    unset($avia_config[‘avia_custom_query_options’]);

    return $query;
    }

    add_filter(‘avia_masonry_entries_query’, ‘avia_custom_query_extension’, 10, 2);
    add_filter(‘avia_post_grid_query’, ‘avia_custom_query_extension’, 10, 2);
    add_filter(‘avia_post_slide_query’, ‘avia_custom_query_extension’, 10, 2);
    add_filter(‘avia_blog_post_query’, ‘avia_custom_query_extension’, 10, 2);
    add_filter(‘avf_magazine_entries_query’, ‘avia_custom_query_extension’, 10, 2);

    add_filter(‘avf_template_builder_shortcode_elements’,’avia_custom_query_options’, 10, 1);
    function avia_custom_query_options($elements)
    {
    $allowed_elements = array(‘av_blog’,’av_masonry_entries’,’av_postslider’,’av_portfolio’,’av_magazine’);

    if(isset($_POST[‘params’][‘allowed’]) && in_array($_POST[‘params’][‘allowed’], $allowed_elements))
    {
    $elements[] = array(
    “name” => __(“Custom Query Orderby”,’avia_framework’ ),
    “desc” => __(“Set a custom query orderby value”,’avia_framework’ ),
    “id” => “orderby”,
    “type” => “select”,
    “std” => “”,
    “subtype” => array(
    __(‘Default Order’, ‘avia_framework’ ) =>”,
    //__(‘Sort Date’, ‘avia_framework’ ) =>’xn-wppe-expiration’,
    //__(‘EventDate’, ‘avia_framework’ ) =>’newsdate’,
    __(‘Title’, ‘avia_framework’ ) =>’title’,
    __(‘Random’, ‘avia_framework’ ) =>’rand’,
    __(‘Date’, ‘avia_framework’ ) =>’date’,
    __(‘Author’, ‘avia_framework’ ) =>’author’,
    __(‘Name (Post Slug)’, ‘avia_framework’ ) =>’name’,
    __(‘Modified’, ‘avia_framework’ ) =>’modified’,
    __(‘Comment Count’, ‘avia_framework’ ) =>’comment_count’,
    __(‘Page Order’, ‘avia_framework’ ) =>’menu_order’,
    __(‘Meta Value’, ‘avia_framework’ ) =>’meta_value’,
    __(‘Meta Value Number’, ‘avia_framework’ ) =>’meta_value_num’)
    );

    $elements[] = array(
    “name” => __(“Custom Query Meta Key”,’avia_framework’ ),
    “desc” => __(“Set custom meta keys to order by”,’avia_framework’ ),
    “id” => “meta_key”,
    “type” => “select”,
    “std” => “”,
    “subtype” => array(
    __(‘None’, ‘avia_framework’ ) =>”,
    __(‘News Date’, ‘avia_framework’ ) =>’newsdate’,
    __(‘Expiration Date’, ‘avia_framework’ ) =>’xn-wppe-expiration’));

    $elements[] = array(
    “name” => __(“Custom Query Order”,’avia_framework’ ),
    “desc” => __(“Set a custom query order”,’avia_framework’ ),
    “id” => “order”,
    “type” => “select”,
    “std” => “”,
    “subtype” => array(
    __(‘Default Order’, ‘avia_framework’ ) =>”,
    __(‘Ascending Order’, ‘avia_framework’ ) =>’ASC’,
    __(‘Descending Order’, ‘avia_framework’ ) =>’DESC’));
    }

    return $elements;
    }

    add_filter(‘avf_template_builder_shortcode_meta’, ‘avia_custom_query_add_query_params_to_config’, 10, 4);
    function avia_custom_query_add_query_params_to_config($meta, $atts, $content, $shortcodename)
    {
    global $avia_config;
    if(empty($avia_config[‘avia_custom_query_options’])) $avia_config[‘avia_custom_query_options’] = array();

    if(!empty($atts[‘order’]))
    {
    $avia_config[‘avia_custom_query_options’][‘order’] = $atts[‘order’];
    }

    if(!empty($atts[‘orderby’]))
    {
    $avia_config[‘avia_custom_query_options’][‘orderby’] = $atts[‘orderby’];
    }

    return $meta;
    }
    }

    #1291136
    Sneogvand
    Participant

    After updating to WP 5.7 WordPress metaboxes underneath the Gutenberg editor can’t open/close when Enfold is activated. There are no errors in the browser console, no errors in the WP debug log and no other indication as to why.
    Only meta boxes in position “standard” appears to be affected. Sidebar metaboxes can collapse as normal.

    Metaboxes works as they should on all standard themes and with other non-Enfold themes activated.
    I have tried to disable all plugins and leave the activated Enfold as the only change to WP standards. When enabling Enfold open/close stops working.

    Clicking the toggle icon arrow still fires the ajax request that sets the cookie remembering that it should be open, so after clicking it is possible to reload the page and the panel will be open.

    The site is in local development and not public, so I can’t provide credentials.

    Can you help me resolve?

    Enfold version: 4.8.1
    Wordpress version: 5.7
    PHP: 7.4.10

    Regards
    Kasper

    #1290508
    Patrick
    Participant

    Dear Enfold-Team,

    I am noticing a weird behavior in the backend:
    – in developer tools the field for custom css-class appears twice
    – the same happens in the custom element template with the “custom element” button

    I have attached links to screenshots below.

    Any idea how to fix this?

    Thanks,
    Patrick

    #1290396
    flordelizamejia
    Participant

    Hello and thank you in advance for any help.

    I wanted to setup a custom field for a portfolio grid entry. Instead of having the title or excerpt show, I would like the designer’s name to show underneath each portfolio entry. I tried to follow this topic, but got lost when you had to adjust the the page template builder: https://kriesi.at/support/topic/portfolio-grid-how-to-show-custom-fields/

    A link to the staging site is shown in the private content.

    Thank you in advance.

    Zest
    Participant

    Hi,

    I would really appreciate your help. After I update to the latest version (4.8.1) the pages break if I have a masonry in them. I have upgraded successfully on other sites and therefore i suspect this has something to do with customizations I have had done in the child theme.

    I found some discussions and hints but unfortunately I cannot find a cure no matter how I search https://kriesi.at/documentation/enfold/intro-to-layout-builder/#add-elements-to-alb and https://kriesi.at/support/topic/masonry-is-not-working/

    I suspect there is something in the child themes function.php – can you perhaps see?

    Grateful for any help I can get :)

    #1290178
    DizzyBird
    Participant

    Is there any way to order portfolio items using a custom field?
    I have added a custom field using the advanced custom fields plugin.
    The field is called ‘orientation’ and has options of portrait or landscape.
    I would like to order the portfolio items using this field in order images of a similar orientation are grouped together.
    I am happy to add the functoinality a different way if needs be.
    (it would be even better if I coudl order first by the Orientation and then by Post Title, but the orientation is the most important)
    Thanks in advance

    #1289149

    Hi
    Thanks for getting back to me.
    Some further information
    On ‘pages’ there is a custom field appearing below the the avia builder and some other items that has the options for header transparency and layout in it.
    This custom field option is not appearing on the custom post pages.
    The only thing I can think of that might relate to this is that I did install and uninstall a custom fields plugin (without setting anything up) a while back, but can’t pin this problem down in time to that so it’s just a maybe.
    I have tried deactivating all the plugins and the one thing I did notice on doing this is that a lot more options appear in the ‘custom field’ box at the bottom of the page.

    elenapoliti
    Participant

    I am facing a strange problem. I am building a website for renting apartments. I have created a custom post type “apartment”. I also use ACF to create custom fields for apartment features and address to be displayed on a Google map.

    Following the instructions on ACF (https://www.advancedcustomfields.com/resources/google-map/) I succeeded to make a page with the map showing all the apartments. For this I created a shortcode containing the following php function which I added to a code block element

    function locations_map (){
        
       $apartment_query = new WP_QUERY('post_type=apartment&posts_per_page=-1');
        if ( $apartment_query->have_posts() ) {
        ob_start(); ?>
        <div class="acf-map" style="overflow: hidden; position: relative;">
          <?php while ( $apartment_query->have_posts() ) {
            $apartment_query->the_post(); 
            $indirizzo = get_field('indirizzo');
            $title = get_the_title();
            $url = get_permalink();
            $posti_letto = get_field('posti_letto');
            $prezzo_minimo = get_field('prezzo_minimo');
            $type_icon =  'http://localhost:8888/mario/wp-content/themes/yaiv/images/marker-home.png';
            ?>
            <div class="marker" data-lat="<?php echo $indirizzo['lat']; ?>" data-lng="<?php echo $indirizzo['lng']; ?>" data-img ="<?php echo $type_icon; ?>">
                <div class="inside-marker">
                  <h4><a href="<?php echo $url; ?>"><?php echo $title; ?></a></h4>
                  <?php
                      echo '<span style="font-size:18px;">People ' . $posti_letto.'</span><br>';   
                      echo 'from '. $prezzo_minimo . '/night';
                  ?>
              </div>
            </div>
        <?php } ?>
        </div>
        <?php wp_reset_postdata(); 
        }
        return ob_get_clean();
    }
    add_shortcode( 'locations_map', 'locations_map' );

    The result, which is working fine, is as from the picture below
    map with all apartments working properly

    In frontend I wanted, for each apartment post (where descriptions and features are showed), a map displayed with the location of that single apartment. I hence prepared a second shortcode with the folowing php function

    function single_map (){
    $indirizzo = get_field('indirizzo');
    $type_icon = 'http://localhost:8888/mario/wp-content/themes/yaiv/images/marker-home.png';
    echo '<div class="acf-map" style="overflow: hidden; position: relative;">';
    if( $indirizzo ): ?>
            <div class="marker" data-lat="<?php echo esc_attr($indirizzo['lat']); ?>" data-lng="<?php echo esc_attr($indirizzo['lng']); ?>" ></div>
    <?php endif;         
    echo '</div>';    
    }
    add_shortcode( 'single_map', 'single_map' );

    However the problem is that when I add to the codeblock element the new [single_map], in frontend there is the proper map showed at the beginning of the .main container (with the marker working well), and a second map (with no marker and no correct center) in the codeblock, like the picture attached.

    map showed on the single post with the single apartment, not working correctly

    I did some trials and saw that also simple text shortcodes behave in the same way when added to the custom post type.

    I also tried to deregister all Enfold native google map api scripts, but I had no results. Unfortunately the web site is still on my local machine, so I cannot give you access right now. Do you have any idea how to solve it?

    • This topic was modified 4 years, 10 months ago by elenapoliti.
    #1286046
    Guenni007
    Participant

    on image alb element i have inserted some code to have two additional input fields showing only if i have a link on them:
    looks this way:

    now i can use these additional attributes on the image-tag to style my own markup for lightbox.
    My trouble now is : on chrome and safari the script works and the lightbox is shown in the wanted way – even with merging on.

    With firefox it only works sometimes when i switch off the merging – but with merged files it never works.
    (by the way i tested to exclude the lightbox scripts from merging) but no improvement.)

    because i used the original trigger with an additonal selector :
    $('#bildnavigation .lightbox-added').magnificPopup({
    so I suspect that the original script that is on lightbox-added is in competition with my code and on firefox just the original takes precedence.

    So is there a way to hamper the original Script that my custom script had the chance to work?
    i tried to wrap the click event of that .lightbox-added anchor and an e.preventDefault(); – that will have effect – but then the lightbox gallery does not work anymore.
    See all infos on private Content

    #1284290

    Topic: Front end errors

    in forum Enfold
    navindesigns
    Participant

    I am getting the following errors on the front end. I have already uploaded via FTP the latest version of the theme files (manually removing all the old fields from the previous version) and I am using PHP 7.3.27

    Fatal error: Uncaught Error: Call to undefined function avia_get_option() in /home/customer/www/milkasprofessional.com/public_html/wp-content/themes/enfold/header.php:6 Stack trace: #0 /home/customer/www/milkasprofessional.com/public_html/wp-includes/template.php(730): require_once() #1 /home/customer/www/milkasprofessional.com/public_html/wp-includes/template.php(676): load_template(‘/home/customer/…’, true, Array) #2 /home/customer/www/milkasprofessional.com/public_html/wp-includes/general-template.php(48): locate_template(Array, true, true, Array) #3 /home/customer/www/milkasprofessional.com/public_html/wp-content/themes/enfold/index.php(10): get_header() #4 /home/customer/www/milkasprofessional.com/public_html/wp-includes/template-loader.php(106): include(‘/home/customer/…’) #5 /home/customer/www/milkasprofessional.com/public_html/wp-blog-header.php(19): require_once(‘/home/customer/…’) #6 /home/customer/www/milkasprofessional.com/public_html/index.php(17): require(‘/home/customer/…’) #7 {main} thrown in /home/customer/www/milkasprofessional.com/public_html/wp-content/themes/enfold/header.php on line 6

    #1283877

    Hi mai,

    We’re happy to hear that :)
    Yes, that’s actually the limitation of using the category description, unless you’ll use some plugins like Advanced Custom Fields which will allow you to create an additional field which you can work on.
    As for styling, try adding this CSS code in Enfold > General Styling > Quick CSS:

    #portfolio-category-description > div {
        text-align: center;
        padding: 0 20px 20px;
        color: #999;
    }

    Hope this helps :)

    Best regards,
    Nikko

    #1283794

    the whole Enfold Options are language specific on WPML. You can see that in the upper left corner – there are flags indicating the independent use of Enfold Options for languages.
    So even the Quick Css fields are different when you switch languages in Enfold Options. Some say this is a bug – I think it’s an added benefit.
    I always style all my settings for my main language first – even with all the quick css I need.
    Then I sync the settings by exporting the theme settings file – switch to the other language in the backend – and load the theme settings file into the new language. – This for each language you have.
    After that, if you want to style the language differently you can start customizing.

    so I suspect that in your main language you have set the Footer settings to German and left them at a different setting in the other language.

    So if there are any quick css entries afterwards, you have to remember to add them for the other languages as well. In this case I do not go over the theme settings files but transfer them manually.

    #1282940

    Hi Justin,

    To insert a text field in the Product Category, you can do the following:
    1. Install and Activate Advanced Custom Fields: https://wordpress.org/plugins/advanced-custom-fields/
    2. Go to Custom Fields > Add New
    3. Add a Title, then click on Add Field button
    4. Set the following fields:
    – Field Label: Introduction
    – Field Name: introduction
    – Field Type: Wysiwyg Editor
    5. Set Location‘s Rules to: Taxonomy – is equal to – Category (product_cat)
    6. Save, then go to Product Category and you should see the Introduction Field.

    To make it show on the category page, add this code instead in functions.php of your child theme:

    function category_intro() {
    	$category_object = get_queried_object();
    	
    	if (is_product_category()) {
    		echo get_field('introduction', $category_object->taxonomy.'_'.$category_object->term_id);
    	}
    }
    
    add_action('woocommerce_before_main_content', 'category_intro', 12);

    Best regards,
    Nikko

    #1282259

    Have you watched the video? That makes the function I’d like to see in Enfold crystal clear..

    I know WP semantic structures.. no need to dive into that.. I’d like to see the same function that that video with Toolset & Gutenberg shows in Enfold of course with the ability to use custom fields

    #1282238

    Hi,
    Thanks, I was trying to point out above that I believe “posts” are at the top, so there is not a “level up from posts”.
    I believe the ACF data is stored in the “posts” in the database
    Glad that you found the Toolset plugin, this has been around for a long time, before Gutenberg, so I’m sure it still works with the Classic Editor, if that is what you are using. While I have heard of Toolset, and seen other clients using it with Enfold, I don’t use it so I have limited knowledge of it.
    But I believe you were pointing to the video because it demonstrates how datasets can be picked and used within the Toolset page builder, and this is nice, but I would point out that what the Toolset is doing is creating a CPT and displaying it’s “posts”, while they are called “Team Members” they are actually “posts” in the WP structure.
    This is the same as the “portfolio” items in Enfold.
    I point this out because the relationship between current “posts” and how the Enfold elements display them is the same.
    The ACF plugin does the same function as the built-in WP custom fields, just much nicer.
    So what I’m trying to say is that with your request to “build one central template that gets filled by the entered data in a post […] so the client(s) cannot mess up the design”
    is the same process as how WP posts are displayed on a page built with the ALB, once the page is created it is a “template” that doesn’t ever need to be edited again, editing the posts changes the content.
    For example, many years ago I helped set up a homepage with 3 “blocks” of content, each block was actually a post in the backend that they would edit, but never the actual “homepage”.
    So I’m thinking that you can use the ACF to setup a backend “form”, which is actually a post backend that looks like your form, then this post is shown by the ALB on the frontend.
    If you want to create a CPT so the word “post” in the backend is custom to your site, like “widgets” or “portfolios”, you can do that, and you can register it with Enfold so the CPT can be picked in the elements.

    Best regards,
    Mike

    #1282003
    TakiwaSoulArt
    Participant

    Hi,

    I hope this is my last question to the WooCommerce shop :)
    If I put a product in the cart or if I delete one or change the number of product in the cart, there comes a message in a light green field. (One image is in the Dropbox – link in private content: Bild 4)
    If I create a new account but I still have one, there is an error: “A customer account already exists for this email address. Please login”. This field is in a light pink.

    There are some similar fields in the login area, cart or checkout in green or pink. Is it possible to have this fields in another colour?

    And a second question: The whole WooCommerce sites – for example: Login, my account, shopping cart, etc. have another font-family. And the footer in the WooCommerce sites have this other font-family too. I can’t understand this. I use Nunito Font at the whole site for the Text. How can I change this?

    Thank you and greetings
    Sabine

    • This topic was modified 4 years, 11 months ago by TakiwaSoulArt.
    #1281991

    Hi,
    Thanks, I feel like I get the sense of what you are saying, but I can’t quite put my finger on it.
    So as I understand, ACF would be the raw data (text, posts), which clients can edit or create, ALB would be the design that clients can not touch. Perfect 👍
    So my thinking is that this sounds like the ACF should be a custom post type (CPT) so it is the content, and ALB would be the design.
    My thinking is that the default WP “post” is at the top of the dataset, within the WP structure, it is meant to be the raw data, and WP gives the ability to create a new “post” type, and from my understanding, as a non-user, ACF is custom fields within any post type, so if the “post” is the top of the dataset, ACF is one step down adding content to the “post” type.
    Currently, within the theme you can lock the ALB and lock it from other admins, so the layout can not be changed, but perhaps the best approach would be to make the clients an “Author” so they can only edit their own posts and no pages or layouts.
    Or you can create a new user role with custom abilities.
    So I’m thinking that a combination of CPT & ACF & user roles is the solution?

    Here is a post about the new feature above, I don’t think it applies to your request, but I figured I’d link to it since I brought it up earlier.

    Best regards,
    Mike

    #1281388

    Hi Victoria,

    We’ve been using the same form for 2 years. It’s not really custom, it’s a standard form from Mailchimp and just revised to only show certain fields. I have had my ISP tech support on it also, and he has confirmed that all connections are good and not blocked.

    The API suddenly started working again, so we’re not sure what’s going on. I do notice that the telephone field through mail chimp form is formatted to be ###-###-####, however when it is used through the theme, the formatting disappears and you can enter any sequence of numbers. Could that be effecting the form?

    #1280169

    Hi Jordi,

    Custom fields are not available for portfolio items.

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

    #1279933

    Hi,

    The custom fields appear on the pages, is it possible to appear on portfolio items too?

    Thanks in advance,

    Jordi

    #1279110

    Hey bubaweb,

    Thank you for the inquiry.

    This should be possible but you may need to modify the enfold\config-templatebuilder\avia-shortcodes\magazine\magazine.php file directly, around line 1111. you will find the default link.

    $link = get_permalink( $entry->ID );
    

    You can replace the value of the $link variable with the PDF link instead of the post URL, maybe by saving it as a custom field. If you go that route, you will have to use the get_post_meta function in order to retrieve the PDF link or the value of the custom field.

    // https://developer.wordpress.org/reference/functions/get_post_meta/

    This plugin might also help.

    // https://wordpress.org/plugins/advanced-custom-fields/

    But it is a bit of an overkill if you are not planning to use a lot of custom fields.

    Best regards,
    Ismael

    #1278560

    Hi Ismael

    I linked you to an event with the shortcode. It is inserted with the Advanced Custom Field plugin, then sent into the appropriate field for the Events Manager. I use this system with another theme, so I know it works. You may have to manually move the shortcode down to the events manager fields in the lower portion due to a coding issue I am working on with the field names.

    Also, any other content called (such as an image) does work, but provides less flexibility for our finished backend. We have a lot of text edits to make on the buttons.

    Cheers

    #1278345
    Empatica
    Participant

    Hi,

    At the backend, into a post, I try to activate the custom fields through “the three dots on the top right of the post > Preferences > Additional panels > Custom fields but it doesn’t work.

    Could you help me?

    Thanks in advance,

    Jordi

    #1275544

    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?

    #1275319

    First of all: if you want to post code – please use the code tags here. It’s much easier to inspect and check if a code will work or not.

    Sorry didn’t saw that you want to achieve this only by custom fields. My way offers a real meta box. A meta box has different advantages.

    you then can use the meta box for your f.e. loop-index.php
    you see the post-meta-info starts from 373

    f.e. if you like to show the saved “Outlet” after categories
    look for:

    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>';
    }

    and insert after that:

    $outlet = get_post_meta($post->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>';
    }

    it will show then as:

    #1275291

    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!

    #1275022

    In reply to: Search & Filter Pro

    Hi Rikard,

    Don’t worry, I have asked for a refund. The plugin works only using their short-codes, but I am not happy with the final result.

    It will be nice, if you could implement a more sophisticated searching form, with the possibility to add custom fields and filters. I am currently using portfolio items to showcase some reviews but unfortunately they are too many for the Masonry Grid. The index page get’s too long, and also it’s not really user friendly.

    Regards
    D.

    ifranl
    Participant

    Hi guys,

    I still can’t get a CPT (created with Toolset) to work in a single template with Enfold. In other words, the custom content is not visible at the frontend of the website.

    I have read several threads and understand that several users are struggling with this. Do I understand correctly that the problem is mainly the (inconsistent) use of avia_markup_helper()? ( https://kriesi.at/support/topic/toolset-enfold-2/#post-1103880 )

    Is there already a solution or workaround to make the custom fields visible at the frontend? Or is the solution to choose another theme than Enfold? Then unfortunately I would have to rebuild the customer’s entire website…

    I hope there is a work-around by now! Have a nice day!
    Ita

    #1273289

    Hey Thomas,

    Thank you for the inquiry.

    You should be able to use the avf_option_page_data_init filter to adjust the existing fields or settings in the theme options or add a custom option. Usage examples of the filter can be found in the following threads.

    // https://kriesi.at/support/topic/add-a-custom-theme-options-tab/#post-1013077
    // https://kriesi.at/support/topic/child-theme-solution-for-change-an-avia_element/#post-1018770
    // https://kriesi.at/support/topic/alt-for-transparent-header-image/page/2/#post-1193253
    // https://kriesi.at/support/topic/child-theme-solution-for-change-an-avia_element/#post-1018190

    Another solution is to use hooks such wp_head or wp_footer.

    Best regards,
    Ismael

    #1272180

    Hi,

    Thank you for the update.

    Would you like to add this in the post page? You may have to modify the includes > loop-index.php file in order to render the custom fields in the post page. But you have to create the custom field first, add a custom value to that field when editing the posts or pages, edit the mentioned template file above, then use the get_field function from the plugin. The following documentation should help.

    // https://www.advancedcustomfields.com/resources/code-examples/
    // https://www.advancedcustomfields.com/resources/get_field/

    Best regards,
    Ismael

Viewing 30 results - 331 through 360 (of 1,622 total)