Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #283974

    Hello!

    I would like the delete the time stamp for Recent, Popular and Comment Combo Widget but keep the DATE intact.

    I found this CSS change:

    .tabcontainer .news-time {
    display: none;
    }

    But it deletes everything (both time and date), and I only want to delete the TIME.

    Thank you!!

    #284048

    Hi onegirlrtw!

    Please add following code to Functions.php file in Appearance > Editor

    function custom_widget_time($time_format, $location) {
    	$time_format = get_option('date_format');
    	return $time_format;			
    }
    add_filter('avia_widget_time', 'custom_widget_time');

    Regards,
    Yigit

    #284107

    Hi Yigit,

    Thank you. I tried to add this code into a child theme functions.php file; the result was this error and a crash of the total site: Fatal error: Call to undefined function avia_get_option() in /home/content/22/4189422/html/momo/wp-content/themes/enfold/header.php on line 5

    I can no longer access any of the child theme customizations.

    A lot of drama and many hours on firebug and trying different code already just to get rid of a time stamp!

    Any chance you can help me get the site up and running again? Do I need to enter into PHP My Admin and delete the child theme functions.php file?

    #284110

    Just to update, I deleted the PHP code manually and site is working again. But now I am searching for an outside widget to perform the combo box function as I find it very difficult to customize the font size, link hover, links between links, etc and many simple other features that should be easy to change in this theme (maybe it’s just me but I searched this forum meticulously and tried many things with no avail!). Thank you, hope to see better functionality of in-house widgets with a future update.

    #284112

    Hi!

    Please connect via FTP and remove the code i posted from functions.php file. I tried it on my local installation and it does work fine. I am not sure what went wrong. Have you copy&pasted the code directly?

    Cheers!
    Yigit

    #284118

    Hi Yigit, Already removed the code, thank you. Yes, I copied and pasted directly in child theme php and nothing happened (no change). So then I copied and pasted the entire php file into child theme php with the added code and it crashed.

    I am hoping this theme will work for me and that I can customize it easily and still have a fast loading site. But, I find this forum to be very difficult to search easily and I find it difficult to get simple information like to how customize your combo widget – change font size color link color tab text etc.

    If I may make a small suggestion, for your own widgets it would be extremely helpful to have all of this information in one file that a user can easily access through this forum.

    #284328

    Hey!

    I have replied you here for your other questions – https://kriesi.at/support/topic/how-to-change-text-size-color-and-remove-hover-in-recent-posts-widget-footer/#post-284100
    and feel free to post your requests here – https://kriesi.at/support/enfold-feature-requests/ or vote the ones that are already requested.
    We are also working on a more advanced search for the forum.
    You can find Enfold documentation here – http://kriesi.at/documentation/enfold/ more and more content will be added/are being added there such as code snippets and video tutorials.
    For any other questions or issues you are having, you can always use support forum and we will gladly help you.

    Regards,
    Yigit

    #285023

    Thank you for the links and answers to my questions!

    #285099

    Hey!

    Can we close this thread now or is the problem not solved yet?

    Regards,
    Peter

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.