tuanma 0 Report post Posted November 13, 2011 I'm looking for the file that contains the code for the meta bar. I want to change the <?php the_date(); ?> to the following <?php the_time_ago(); ?>. Any help is greatly appreciated. Share this post Link to post Share on other sites
catrina 103 Report post Posted November 13, 2011 The file you need to look at is library.templates.php, but you need to make sure that you have PlatformBase activated (this is where the file needs to be copied to so that it can be edited). Do you already have it? Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
tuanma 0 Report post Posted November 13, 2011 I probably do not have PlatformBase activated. Is this just another theme that needs to be installed? Sorry, I'm pretty green with pagelines. Thanks, Tuan Share this post Link to post Share on other sites
catrina 103 Report post Posted November 13, 2011 PlatformBase accompanies PlatformPro. It is the child theme, so it is based on PlatformPro, but the only difference is that it's where you can make advanced customizations (in the files, for example). You'll need to copy library.templates.php to the platformbase folder (from the platformpro folder) and edit the file there. The theme is downloadable from your LaunchPad account: http://pagelines.com/launchpad. Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
tuanma 0 Report post Posted November 13, 2011 @catrina I've uploaded the platformbase theme to wordpress. Do I activate that or keep the basic theme activated (will I lose all my customization if I activate the new theme? Share this post Link to post Share on other sites
catrina 103 Report post Posted November 13, 2011 You must activate PlatformBase. Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
tuanma 0 Report post Posted November 13, 2011 Will I lose all my customization? Share this post Link to post Share on other sites
catrina 103 Report post Posted November 13, 2011 You shouldn't lose the customization if PlatformPro is still installed (PlatformBase and PlatformPro are designed to work together). Did you implement many Custom CSS customizations in PlatformPro? Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
tuanma 0 Report post Posted November 13, 2011 yes, there is a lot of custom css in Pro Share this post Link to post Share on other sites
tuanma 0 Report post Posted November 13, 2011 I've gone ahead and activated platformbase and everything seems to look ok. However, under themes in wordpress it shows platformpro still activated. Is this suppose to be the case? Share this post Link to post Share on other sites
catrina 103 Report post Posted November 13, 2011 PlatformBase is supposed to be the theme shown as active (at the top of the Themes page). Can you take a screenshot of the page, upload it to imgur.com post the direct image link here? Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
tuanma 0 Report post Posted November 13, 2011 I tried activating platformbase ??“ gives success prompt ??“ but platformpro continues to stay as activated theme. http://i.imgur.com/YZba3.png Share this post Link to post Share on other sites
catrina 103 Report post Posted November 13, 2011 Hm, that is strange. When you go to Appearance > Editor, what do you see? Does the stylesheet for PlatformBase show up? Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
tuanma 0 Report post Posted November 13, 2011 Catrina got the theme to change over after multiple tries. Thanks for your help. I will now copy the other file over. Share this post Link to post Share on other sites
tuanma 0 Report post Posted November 13, 2011 Catrina I have library.templates.php file in platformbase do you know which line of code I switch out? Share this post Link to post Share on other sites
catrina 103 Report post Posted November 13, 2011 The line that should be modified is: [code]$metabar .= sprintf( '%s [post_date] ', __('On','pagelines') );[/code] Is your shortcode supposed to show how many hours since the post was published? Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
tuanma 0 Report post Posted November 13, 2011 Yes, I downloaded a plugin which allows me to replace to the following for hours published. Plugin link: http://wpsplash.com/wordpress-timeago-fuzzy-dates-plugin/ Share this post Link to post Share on other sites
catrina 103 Report post Posted November 13, 2011 Replace [post_date] in that line of code with . Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
tuanma 0 Report post Posted November 13, 2011 Unfortunately, the change in code doesn't do anything. Share this post Link to post Share on other sites
catrina 103 Report post Posted November 13, 2011 If it's not working, you can try this plugin instead: http://wordpress.org/extend/plugins/dynamic-dates/ Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites
tuanma 0 Report post Posted November 13, 2011 Do you know what their short code for minute, hours and days ago would be? Also, it seems that changes in library.templates.php file in platformbase is not effecting the site but the file in platformpro does. Share this post Link to post Share on other sites
catrina 103 Report post Posted November 13, 2011 You'll need to contact the plugin creator about the short code since I am unsure of what it would be. Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites