saramac
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Custom Theme – Can't set page templates after 3.8 updateI finally found a post that helped with the problem. The wp_postmeta database table was corrupted. Repaired it with the GD Press Tools plugin and all is well.
https://www.ads-software.com/support/topic/page-template-not-saving
Forum: Fixing WordPress
In reply to: get_posts conflictThanks vtxyzzy. Here’s what I ended up with that worked. Maybe it will help someone else. There was a problem with using get_posts in the side bar for some reason. query_posts ended up working out.
[code moderated for the second time – please use the pastebin – read https://codex.www.ads-software.com/Forum_Welcome#Posting_Code ]
Bump. I need to do the same thing. Google isn’t foolproof when it comes to their mapping, so adding a custom long/lat should be a pretty standard thing.
Forum: Fixing WordPress
In reply to: Conditional Content in FooterI found a solution, but I’d love to know if there are better ways to accomplish this sort of thing.
Custom function added:
https://pastebin.com/ZVagWx9hCan now add page content via echo getPageContent():
if (is_home()) { echo getPageContent(53); }
Forum: Themes and Templates
In reply to: Return posts with specific category AND tagThanks esmi. I actually was just about to post an update for anyone else doing the same thing.
<?php query_posts('cat=catname&tag=tagname&showposts='); if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
Forum: Themes and Templates
In reply to: Custom Font in Site TitleYou could use Cufon font replacement. Here’s a good article about it. You’ll need to edit the template, css file and add some javascript.
https://www.viget.com/inspire/cufon-font-replacement-the-good-and-the-bad