stemie 0 Report post Posted March 22, 2011 I'm finding this theme a little frustrating. Now I appreciate that the backend setup is quite dynamic but say I want to remove the title of my 'about' page normally I could create a page template with the appropriate edits and then set the page template to the about page. I am at a loss how to do this with this theme? Also is there not an easy way to implement google fonts. I tried to change the main body font with no luck. Perhaps you could document the setup of google fonts a little better. I've used Google font plugins on other sites that were far easier. Can I also ask that someone get back to me last time I got no help I appreciate your new approach to theming I just want to be able to make minor edits but I'm finding it hard to deviate from the options that you provide. Perhaps I'm missing something.. This is the demo site http://www.highlandsfarmstud.co.za/h/about/ Share this post Link to post Share on other sites
Kate 3 Report post Posted March 22, 2011 Hey Steven, You should be able to edit template.postloop.php to change which pages show the title, etc. (A simple PHP if statement...) Another option would be CSS. For Google fonts: have you tried the built-in Typography tool we have now? Share this post Link to post Share on other sites
stemie 0 Report post Posted March 31, 2011 Thanks for the reply. Ive still got a few questions. Ive cant see this built in typography tool you mention. I have version 1.3 On my blog page I'm trying to get rid of the author details below the post excerpt and also edit the bit at the top 'currently viewing'. I cant seem do this? Here is a pic http://www.highlandsfarmstud.co.za/h/wp-content/uploads/2011/03/post-excerpts.png and this is the page I am referring to http://www.highlandsfarmstud.co.za/h/category/news/ I would also like to know how to move the featured image on the left of the post title. I can do this on normal themes but for some reason this theme has got me all confused. On this single post (http://www.highlandsfarmstud.co.za/h/graham-beck-the-end-of-an-era/) I inserted the image at the very top of the text on the right but it only shows up on the right after one paragraph (I tired it a few times on the right and left). Why is this happening Im making sure my cursor is at the top before I insert the image. Share this post Link to post Share on other sites
cmunns 16 Report post Posted March 31, 2011 If you want edit things like the metabar that exists under the thumbnail and above the excerpts you can use a filter to do so. Use PlatformBase theme you can add something like this: ` add_filter('pagelines_post_metabar', 'your_function'); function your_function($metabar){ $metabar = sprintf( '%s [post_date] ', __('On','pagelines') ); return $metabar; } ` This will return just your post date instead of other stuff. If you want to edit the "currently viewing" portion you can create a file called template.postsinfo.php and copy what is inside of the section_template function inside the section.postsinfo.php file in the PlatformPro core, which would be this: ` if(is_category() || is_archive() || is_search()): ?> <?php if(is_search()):?> <?php _e("Search results for ", 'pagelines');?> "<?php the_search_query();?>" <?php elseif(is_category()):?> <?php _e("Currently viewing the category: ", 'pagelines');?> "<?php single_cat_title();?>" <?php elseif(is_tag()):?> <?php _e("Currently viewing the tag: ", 'pagelines');?> "<?php single_tag_title(''); ?>" <?php elseif(is_archive()):?> <?php if (is_author()) { global $author; global $author_name; $curauth = (isset($_GET['author_name'])) ? get_user_by('slug', $author_name) : get_userdata(intval($author)); _e('Posts by:', 'pagelines'); ?> <?php echo $curauth->display_name; ?> <?php } elseif (is_day()) { ?> <?php _e('From the daily archives:', 'pagelines'); ?> <?php the_time('l, F j, Y'); ?> <?php } elseif (is_month()) { ?> <?php _e('From the monthly archives:', 'pagelines'); ?> <?php the_time('F Y'); ?> <?php } elseif (is_year()) { ?> <?php _e('From the yearly archives:', 'pagelines'); ?> <?php the_time('Y'); ?> <?php } else {?> <?php _e("Viewing archives for ", 'pagelines');?> "<?php the_date();?>" <?php } ?> <?php endif;?> <?php endif; ` Basically hooks and filters and overriding templates in the child theme is how you will want to make edits so that they are safe from updates to the core. I would also like to know how to move the featured image on the left of the post title. I can do this on normal themes but for some reason this theme has got me all confused. Where are you trying to move it.? Share this post Link to post Share on other sites
stemie 0 Report post Posted April 1, 2011 Where are you trying to move it.? I want to move it into the actual excerpt not next to the heading. Thanks for your reply Share this post Link to post Share on other sites
catrina 103 Report post Posted April 1, 2011 If you want to add content into the excerpt, it will either have to be plain text (no HTML/PHP code) or a short code. 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
zurmo 0 Report post Posted July 8, 2011 Hi, Where would I add template.postinfo.php in a child theme? on the root folder of the child theme I get an error: "Fatal error: Cannot redeclare class PageLinesPostsInfo in". thanks Share this post Link to post Share on other sites
kastelic 6 Report post Posted July 8, 2011 You don't want the copy the whole class. Just copy the content within the main function. Share this post Link to post Share on other sites
zurmo 0 Report post Posted July 8, 2011 thanks! that worked. Share this post Link to post Share on other sites