-
AuthorPosts
-
June 26, 2014 at 10:24 am #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!!
June 26, 2014 at 12:57 pm #284048Hi 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,
YigitJune 26, 2014 at 2:59 pm #284107Hi 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?
June 26, 2014 at 3:06 pm #284110Just 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.
June 26, 2014 at 3:09 pm #284112Hi!
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!
YigitJune 26, 2014 at 3:23 pm #284118Hi 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.
June 26, 2014 at 10:49 pm #284328Hey!
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,
YigitJune 29, 2014 at 7:07 pm #285023Thank you for the links and answers to my questions!
June 30, 2014 at 9:15 am #285099Hey!
Can we close this thread now or is the problem not solved yet?
Regards,
Peter -
AuthorPosts
- You must be logged in to reply to this topic.