Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #427621

    Hi,
    how can i remove the date-span (<span class=”news-time”>13. April 2015 – 15:38</span>) from the “latest Portfolio-widget”
    http://enfold.rightlight-studios.de/services/mietstudio/konditionen/ (Sidebar / Buchbares Equipment)

    How can i make the widget show portfolio items on a random basis?

    kind regards
    axel

    #428065

    Hey awel!

    Please try adding this to Quick CSS under Enfold–>General Styling:

    .news-time{
    display:none !important;
    }

    Regards,
    Rikard

    #428072

    Hi
    This is just a CSS trick which has negative influence on SEO.
    Please provide us with something more “advanced”
    How can we remove (not hide) the output for this element by using child-theme functionality??

    #428676

    Hey!

    Use this in functions.php file to completely remove the date:

    add_action('wp_footer', 'ava_custom_script_mod', 10);
    function ava_custom_script_mod(){
    ?>
    <script>
    (function($){
    	$('.news-headline').each(function() {
    		$(this).find('.news-time').remove();
    	});
    })(jQuery);
    </script>
    <?php
    }

    Cheers!
    Ismael

    #428899

    Bad idea to use jQuery script just to delete few DOM elements. May be some WordPress filter on it?

    #428928

    I agree to mrTwister.
    Its not a good idea to use JS

    #428965

    Hey!

    Please add following code to Functions.php file

    function change_avia_date_format($date, $function) {
      return false;
    }
    add_filter('avia_widget_time', 'change_avia_date_format', 10, 2);

    Cheers!
    Yigit

    #429065

    Thanx but as far as i can see my second question is still not answered

    #429077

    Hi!

    Try using this plugin – https://wordpress.org/plugins/flexible-posts-widget/
    Out of the box it is currently not possible to change the sort order for the widget.
    You must modify the core file enfold\framework\php\class-framework-widgets.php and alter the query parameters for WP_Query.

    Regards,
    Yigit

    #429112

    Hi
    Thanx but we dont want to use Plugins if it is not necessary.
    Please show us a way that lets keep us the child-functionality and without Plugins
    Thanx

    #429164
    #429172

    Hi,as far as i can see this is something diferrent since he wants to replace the whole widget.
    We just want to change the sort order in a way that we do not loose the child-functionality
    Best regards, A.

    #429175

    Hey!

    Josue’s post shows you how to move the file to your child theme.
    As i said earlier

    Out of the box it is currently not possible to change the sort order for the widget.
    You must modify the core file enfold\framework\php\class-framework-widgets.php and alter the query parameters for WP_Query.

    If you really need to change the order, please hire a freelance developer as such customization is beyond the scope of our support.

    Regards,
    Yigit

    #429177

    really???
    Isnt that your Slogan?
    The user-friendliest WordPress Theme ever made” & “the last theme you will ever need to buy

    #429195

    Hi!

    It most certainly is. As you have read in scope section while registering;

    Support covers installation of the theme, issues arising from using any of the theme features and of course bug fixes and feature updates.

    We do not mind helping with simple customizations but heavy customization should be made by freelance developers.

    That being said, i am marking this thread as resolved. If you have any other questions or issues, please feel free to start a new one and we will gladly try to help you.

    Best regards,
    Yigit

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Latest Portfolio Items – random & without dates’ is closed to new replies.