Frumph.NET

I'm in your site, touching your stuff.
  • Home
  • Contact
  • Downloads
    • Easel
  • Forum
Facebook Twitter Email Google+ pinterest YouTube RSS
Home » BlogPage 3
May 2013
S M T W T F S
« Apr    
 1234
567891011
12131415161718
19202122232425
262728293031  

Recent Posts

  • You’re not going to believe this, but hey. Why not, right?
  • Use my custom default random avatars code in any theme.
  • Easel (theme) 3.3 Changelog
  • ComicPress 2.9.6 and WordPress 3.5 RSS fix for feedburner
  • ComicPress w/ Comic Easel (and Easel) and WordPress 3.5+ Bug
  • Easel 3.2
  • Redesign of theDreamlandChronicles.com (LIVE)
  • Easel 3.1
  • Theme Companion made obselete by Jetpack from Automattic, but in a good way.
  • Couple more child themes are available for Easel

Categories

  • Blog
    • Articles
    • BookOfPhilip
    • Dream Journal
    • News
    • Random Thoughts
  • ComicPress Child Themes
  • ComicPress Manager
  • Design
  • Guide
  • Information
  • Twitter
  • Uncategorized
  • WebComic
    • Rascal
  • WebComic Planet
  • Wordpress
    • Comic Easel
    • ComicPress
    • Easel
    • FAQ

Comic Easel navigation question.

Jun06
by Philip M. Hofer (Frumph) on June 6, 2012 at 6:23 pm
Posted In: Comic Easel

Right now Comic Easel has first-next-prev-last that can be switched between navigating just chapters or all chapters. What I’m wondering is should I remove the toggle between the two types of navigation and just have 4 more buttons like in ComicPress, first_in next_in prev_in last_in (in chapter) and first prev next last of (all) chapters.

Giving the two choices, single toggle or 4 more buttons.

What are your thoughts?

Reply to this forum post here: http://forum.frumph.net/viewtopic.php?f=15&t=170

ComicEasel.COM Temporarily set to member’s only.

Jun06
by Philip M. Hofer (Frumph) on June 6, 2012 at 12:28 pm
Posted In: Comic Easel

In this case, member’s being users of Comic Easel the plugin.

The thought of this is to allow documentation to build up with the help of people who are using Comic Easel and get things worked on for the next week before opening it up to the public again.

This doesn’t mean anythings going pay (it’s not), it just means it’s locked out from the public until it can get a good front end of information.

If you use Comic Easel and wish to assist in providing documentation (you know I would appreciate any assistance I can get), just contact me and I’ll set you up an editor account to go in and help out.

I am *notorious* for being bad at documentation.

- Phil

 Comment 

ComicPress 2.9.4

Jun03
by Philip M. Hofer (Frumph) on June 3, 2012 at 4:06 am
Posted In: ComicPress

Patch notes can be found in the new forums here.

ComicPress 2.9.4 is the update to the theme that corresponds to making it compatible with WordPress 3.4

– Note: I have made the things that are specific to WP 3.4 backwards compatible with older versions of WP at least 3.1 and above.

If you want to check out the full DIFF of changes from 2.9.3.1 to 2.9.4

- Phil

└ Tags: comicpress
6 Comments

Sidebar functions for your functions.php

May26
by Philip M. Hofer (Frumph) on May 26, 2012 at 4:40 pm
Posted In: Wordpress

Initializing the sidebars

This method will reduce the amount of cut and pasting you do when registering sidebars. It basically allows you to have a central location for each of the $vars that are consistent throughout all of the sidebars and just loops through them creating each of the sidebars based on the title.

if (!function_exists('mytheme_sidebar_init')) {
	function mytheme_sidebar_init() {
		$before_widget = "<div id=\"".'%1$s'."\" class=\"widget ".'%2$s'."\">\r\n<div class=\"widget-content\">\r\n";
		$after_widget = "</div>\r\n</div>\r\n";
		foreach (array(
			__('Above Header', 'mytheme'),
			__('Header', 'mytheme'),
			__('Menubar', 'mytheme'),
			__('Left Sidebar', 'mytheme'),
			__('Right Sidebar', 'mytheme'),
			__('Over Blog', 'mytheme'),
			__('Under Blog', 'mytheme'),
			__('The Footer', 'mytheme') 
		) as $sidebartitle) {
		register_sidebar(array(
			'name'=> $sidebartitle,
			'id' => sanitize_title($sidebartitle),
//			'description' => $sidebartitle, 
			'before_widget' => $before_widget,
			'after_widget'  => $after_widget,
			'before_title'  => "<h2 class=\"widgettitle\">",
			'after_title'   => "</h2>\r\n"
			));
		}
	}
}

Getting the sidebars

Now that we have the sidebar’s registered and ready to be used in your theme, with this next chunk of code, you do *not* need to have all of those individual sidebar-$location.php files in your theme and it creates a dynamic one for them all. However it also checks if there *is* a sidebar-$location.php file if it does exist it will use it.

function mytheme_get_sidebar($location = '') {
	if (empty($location)) { get_sidebar(); return; }
	if (file_exists(get_stylesheet_directory().'/sidebar-'.$location.'.php')) {
		get_sidebar($location);
	} elseif (is_active_sidebar('sidebar-'.$location)) { ?>
		<div id="sidebar-<?php echo $location; ?>" class="sidebar">
			<?php dynamic_sidebar('sidebar-'.$location); ?>
		</div>
	<?php }
}

P.S. You probably can take out the elseif (is_active_sidebar( statement and have it just go else { – before the creation of the dynamic sidebar if you use the if (is_active_sidebar() code before the call to the mytheme_get_sidebar() function.

First thing this function does if checks if you have a $location, if it doesn’t it will just load up the generic sidebar, which comes from the sidebar.php file from the theme. Next, it checks if the sidebar-$location.php exists and uses it if it does. After that it just creates the dynamic sidebar location with divs.

Using the mytheme_get_sidebar($location);

In this example, it will check if the sidebar is ‘active’ meaning if there’s actually any widgets in it, if there are it will then try to render the sidebar. If there is a file in the theme/child theme’s directory called sidebar-over.php it will use that, if not it will use the generic div’s created by the function. If it’s a generated sidebar, the CSS for it will be #sidebar-over {} with the class of .sidebar {} in this example.

<?php if (is_active_sidebar('over-blog')) mytheme_get_sidebar('over'); ?>

Else, if you want it to stay rendered in the theme for CSS sake, to keep the block there just do the same without the is_active_sidebar() code.

<?php mytheme_get_sidebar('over'); ?>

And there you have it.

- Phil

└ Tags: code snippet, guide, How-To
2 Comments

Comic Easel 1.0

May22
by Philip M. Hofer (Frumph) on May 22, 2012 at 1:37 am
Posted In: Comic Easel

Comic Easel (Plugin) has been released to the outside world.

Comic Easel allows you to incorporate a WebComic using the WordPress Media Library functionality with Navigation into almost any WordPress theme. With just a few modifications of adding ‘injection’ action locations into a theme, you can have the theme of your choice display a comic.

The core reason to use Comic Easel above other WordPress theme’s is that you are not limited to the basic ComicPress & Other themes that are specifically designed for WebComics that utilize structures that you do not require or want to make use of. There are a plentiful amount of themes in the WordPress repository that you can now take advantage of that give you tons of options you otherwise wouldn’t have had.

With Comic Easel’s extra taxonomies to control Character and Locations, you can provide your end readers with a plethora of information that wouldn’t have had before that is auto-generated. The Cast Page itself shows how many times a character was in a comic as well as the first comic they were seen in.

The CP2CE Plugin

If you are upgrading from ComicPress there are several plugins available on the repository that will assist you in converting your categories to the comic post type, including CP2CE. The bonus of using CP2CE is that it will automatically attach the comic from the comics directory of your ComicPress installation and convert the thumbnails at the same time.

Features of 1.0

Custom Post Type control of posts.
Media Library handling of comics.
As many chapters/stories as you would like.
Individual navigation per chapter or all.
Character and Location settings per Comic

Widgets

Chapter Dropdown, brings you to the first comic in the chapter (story)
Calendar display, show’s you what days comic posts were made on, can add images and links to backgrounds.
Recent Comics, a list of comics that have been posted as of late.
Thumbnail, display a thumbnail of a random comic, or first/latest comic in a chapter (or all)

Short Codes
- Shortcodes are simple embed statements that you can put into pages/post that display information.

[comic-archive] Display a list of your comics by individual chapters or all.
[cast-page] Display a list of all of your characters, how many comics they were in and when they first appeared

Action Injection Locations

A number of injection snippets that you add to your theme, mini navigation for the menubar, comic area and comic blost post area, including post-information is available to customize your theme out with auto generated information.

12 Comments

What’s been going on.

May03
by Philip M. Hofer (Frumph) on May 3, 2012 at 10:05 am
Posted In: Blog

A few of my comic friends have been wondering what has been happening lately and I am going to write it all here.

There is members only content here.

12 Comments

Easel 2.1 – Beta

Nov01
by Philip M. Hofer (Frumph) on November 1, 2011 at 12:47 pm
Posted In: Easel

Easel 2.1 is being worked on right now, it basically incorporates a new default site design (the old wolf one was moved to a scheme) as well as a bunch of new options for the comic post type that I am incorporating from Comic Easel.

Along with the new default design it has a bunch of logic changes so that ‘external’ post type plugins can be utilized without too much difficulty.

- Phil

 

EDIT:  Easel (comicpress light portion) has a bunch of new code incorporated from Comic Easel into it, including Locations and Characters (removed tags) – also the comicpress thumbnail widget is added to it and more.

 

2 Comments

How to add a base image for your posts that facebook recognizes with Theme Companion

Oct26
by Philip M. Hofer (Frumph) on October 26, 2011 at 7:52 pm
Posted In: Guide

When you’re posting your link to facebook you will notice that it can pick up any random image to use for your post.   So what you want to do is have the ability to decide on a base image for Facebook to use.   Most people do it as a site logo that encompasses everything for your site.

With the plugin: Theme Companion  open it up and click on the  [Add HTML code to the <head> area] – When you are in that area to edit add this line:

<meta property=”og:image” content=”http://urlpathtoimage.tld/image.jpg” />

In this case it’s:

<meta property=”og:image” content=”http://frumph.net/images/header/frumph.png” />

Where http://frumph.net/images/header/frumph.png (the urlpathtoimage) points to an image that I want to use for facebook to recognize.

And that’s it, next time you post something to Facebook, the base image ^ the one you pointed to in the content= line will be used as the image for your feed on facebook.

- Phil

5 Comments

ComicPress 2.9.3

Jun08
by Philip M. Hofer (Frumph) on June 8, 2011 at 2:53 am
Posted In: ComicPress

Pushed to the wordpress.org repository on 06/08/2011

Changes

CSS - None

Code
Adjusted how the search and archive pages work to reduce memory load & count
fixed the language textdomain lines
changed how the .txt and .htm files are read in to pass the theme review
renamed functions/ipn.php to functions/ipn.txt, change it back to functions/ipn.php in order to utilize the IPN from paypal

15 Comments

Remember the Webcomic Planet Pinups? – They’re back.

Jun03
by Philip M. Hofer (Frumph) on June 3, 2011 at 1:24 am
Posted In: WebComic Planet

If you remember the Webcomic Planet pinups that I asked people to contribute to several years ago?    They’ve been found and re-added to Frumph.NET, go ahead and take a look at them, you can start here http://frumph.net/comic/persephone/ or click on one of the random pinups that show up in the sidebar.

If you would like to contribute a fullpage pinup by all means, please do.

- Phil

2 Comments
  • Page 3 of 14
  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • »
  • Last »
Frumph.NET
Proudly powered by WordPress Theme: Easel - Pro.
  • Home
  • CP2CE
  • Downloads

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