-
AuthorPosts
-
April 13, 2015 at 5:13 pm #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
axelApril 14, 2015 at 9:31 am #428065Hey awel!
Please try adding this to Quick CSS under Enfold–>General Styling:
.news-time{ display:none !important; }
Regards,
RikardApril 14, 2015 at 9:41 am #428072Hi
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??April 15, 2015 at 5:16 am #428676Hey!
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!
IsmaelApril 15, 2015 at 1:39 pm #428899Bad idea to use jQuery script just to delete few DOM elements. May be some WordPress filter on it?
April 15, 2015 at 2:28 pm #428928April 15, 2015 at 3:08 pm #428965Hey!
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!
YigitApril 15, 2015 at 5:11 pm #429065April 15, 2015 at 5:24 pm #429077Hi!
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,
YigitApril 15, 2015 at 6:04 pm #429112Hi
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
ThanxApril 15, 2015 at 7:02 pm #429164Hi!
Please refer to Josue’s post here – https://kriesi.at/support/topic/how-to-replace-the-class-framework-widgets-php-in-child-theme/#post-347544
Best regards,
YigitApril 15, 2015 at 7:19 pm #429172Hi,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.April 15, 2015 at 7:25 pm #429175Hey!
Josue’s post shows you how to move the file to your child theme.
As i said earlierOut 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,
YigitApril 15, 2015 at 7:27 pm #429177really???
Isnt that your Slogan?
“The user-friendliest WordPress Theme ever made” & “the last theme you will ever need to buy“April 15, 2015 at 8:14 pm #429195Hi!
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 -
AuthorPosts
- The topic ‘Latest Portfolio Items – random & without dates’ is closed to new replies.