Frumph.NET

I'm in your site touching your stuff.
  • Home
  • Contact
  • Documentation
    • Custom Avatars
    • Custom Menubar

how to remove the at [time] from the post info

May18
by Philip M. Hofer (Frumph) on May 18, 2011 at 12:58 am
Posted In: ComicPress

Open up your child-functions.php file and insert this line in it:

function comicpress_display_post_time() { return ''; }

What this does is ‘override’ the post time function and returns empty information instead of posting the time that the post was created.

– Phil

 Comment 

Hosting Move

May15
by Philip M. Hofer (Frumph) on May 15, 2011 at 4:46 am
Posted In: Uncategorized

Hello folks, i’ve moved hosting for all my sites and working on them right now.

So if something is wrong; that’s the reason.

9 Comments

Important ComicPress & Easel archive.php bug fix.

May03
by Philip M. Hofer (Frumph) on May 3, 2011 at 5:33 pm
Posted In: ComicPress, Easel

The archive.php of easel and comicpress has a serious memory hog issue and with some help from Trump http://goatmouf.net I was able to find it and figure out a fix for it.

Basically what I was doing in the archive.php to find a ‘total count’ of how many finds was to actually do another query and grab the count that way, which essentially just basically doubled the amount of memory used for the finding of information -> BAD frumph BAD.

So in the archive.php find this:

Protect();
$tmp_search = new WP_Query($query_string.'&showposts=-1&posts_per_page=-1');
if (isset($tmp_search->post_count)) {
	$count = $tmp_search->post_count;
} else {
	$count = "No";
}
$tmp_search = null;

UnProtect();

or something relatively like that, and comment it out or delete that whole section.

/*
Protect();
$tmp_search = new WP_Query($query_string.'&showposts=-1&posts_per_page=-1');
if (isset($tmp_search->post_count)) {
	$count = $tmp_search->post_count;
} else {
	$count = "No";
}
$tmp_search = null;

UnProtect();
*/

The /* and */ act as “comment everything between this.

Then under that, we need to place

$count = "No";

That would be placed right above the if (have_posts()):

$count = "No";
if (have_posts()) :

Now we still want to “count” the amount of found posts, we need to add the info to get the #

$count = "No";
if (have_posts()) :
	$count = $wp_query->found_posts;

This will allow the $count to be populated with the correct value of all the posts that were found. Now for the bad news, its not tested with *every* scenario yet, so we cant be totally sure that all counts will be completely 100% accurate, but it will definitely save a ton of memory when someone goes into the archives.

6 Comments

Easel 2.0.6

Feb17
by Philip M. Hofer (Frumph) on February 17, 2011 at 6:37 am
Posted In: Easel
  • Added proper navigation for seperate chapters/storylines for comics, and options to display on home page
  • made featured images in the rss feed be ‘thumbnails’ instead of full images
  • modified the header browser line for the description, if no description, no extra -only show the – description if there *is* a description
  • added google translate widget
  • internalization fix for the wp-pagenavi code, removal of adding it as an db save
  • menunav moved below execution of the wp_nav_menu now so that if it does scroll over the menunav displays below and not the menu
  • added enable social icons in menubar as an option now with input boxes instead of end users adding to child theme
  • new feature, breadcrumbs
  • fix for backlinks-template.php
  • featured image now set to ‘large’
  • new google translator widget
  • translation files default.po/.mo are updated so that the theme can be translated
  • some tweaks for better child-theme creations
24 Comments

Backlinks – What the !#$% are they?

Jan23
by Philip M. Hofer (Frumph) on January 23, 2011 at 4:53 am
Posted In: Articles

Every once in awhile new buzz words show up that might help the website owners out there.      Today’s random question asks a few people that I know – if they know what it is.  The thing is, that even though you – as a website author might not feel that these words could have any use to you; it’s a good idea to understand them just in case you could utilize it for your own sites benefit.

Just a reminder, I’m not a search engine freak, I don’t even care about search engine stuff, this is all about getting readership to your site.

↓ Read the rest of this entry…

9 Comments
  • Page 17 of 30
  • « First
  • «
  • 15
  • 16
  • 17
  • 18
  • 19
  • »
  • Last »

Recent Posts

  • The Proginator – Chapter 1-17
  • The Proginator – Chapter 1-16
  • The Proginator – Chapter 1-15
  • The Proginator – Chapter 1-14
  • The Proginator – Chapter 1-13

Recent Comments

  • Philip M. Hofer (Frumph) on ComicPress 2.9 CSS Overview – Part 1 – Entity List
  • James Duran on ComicPress 2.9 CSS Overview – Part 1 – Entity List
  • Philip M. Hofer (Frumph) on Understanding do_action() and add_action() – Revisited
  • sandeep on Understanding do_action() and add_action() – Revisited
  • Philip M. Hofer (Frumph) on ComicPress 4.0 soon to be released.

Categories

  • Articles
  • Blog
  • Chapter 1
  • Comic Easel
  • ComicPress
  • Easel
  • FAQ
  • Guide
  • Information
  • Proginator World 323
  • Prologue
  • Uncategorized
  • Wordpress

©2008-2021 Frumph.NET | Powered by WordPress with ComicPress | Subscribe: RSS | Back to Top ↑