Frumph.NET

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

ComicEasel.COM Temporarily set to member’s only.

Jun06
by Philip M. Hofer (Frumph) on June 6, 2012 at 12:28 pm and modified 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 and modified on July 25, 2014. at 9:29 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 and modified on June 1, 2012. at 12:48 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: guide, How-To
2 Comments

Comic Easel 1.0

May22
by Philip M. Hofer (Frumph) on May 22, 2012 at 1:37 am and modified on May 22, 2012. at 1:45 pm
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.

15 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
  • Page 15 of 30
  • « First
  • «
  • 13
  • 14
  • 15
  • 16
  • 17
  • »
  • 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 ↑