Showing posts with label wordpress conversion continues. Show all posts
Showing posts with label wordpress conversion continues. Show all posts

Wednesday, May 29, 2013

wordpress conversion day 4

I switched from the ad plugin I had before to this one: http://wordpress.org/plugins/ad-codez-widget/

I also added a tertiary sidebar to the site by adding the following to animeseries_widgets_init() in functions.php:
register_sidebar( array(
'name' => __( 'Secondary Widget Area', 'shape' ),
'id' => 'sidebar-2',
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h1 class="widget-title">',
'after_title' => '</h1>',
) );


Plan is to work with existing css.  Delete colliding css during/after theme is done.

Now onto querying posts by the letter they start with... http://wordpress.org/support/topic/what-argument-to-use-in-query_posts-to-get-posts-with-given-letter

Okay when I started typing this post it was 8pm.  It's now 1am and I'm still stuck on the alphabetized post issue.  I've found a way to filter the posts by letter but now I need to figure out how to make the posts update by letter via button click using ajax.  This has been very aggravating and I'm too tired to continue trying things that I know won't work.  So day 4, I got stuck again, but once I finish this the rest of the template is just css and although that can be frustrating too, it's nowhere near as annoying.

Tuesday, May 28, 2013

Conversion continues

Didn't get any work done yesterday because I was too miserable.  This is because I fell asleep on the beach (with no sunscreen on) and awoke with my entire back straight red.  Today I did yesterdays work and jotted down different dimensions and margins/padding.  I've also jotted down some css notes and planned out a couple other things as well.  I'm contemplating hardcoding the chatbox into the aside so it stays out of the tertiary, secondary and other sections of the sidebar.  This way I can easily align everything with the content-sidebar-sidebar css from here: http://themeshaper.com/2012/11/12/how-to-reset-rebuild-wordpress-theme-css-define-your-layouts/

As for chatbox plugins this appears to be what I need: http://wordpress.org/plugins/schreikasten/screenshots/

I'm not sure how I'll hardcode it but I don't think it will be too difficult.  I'll probably just need to put the plugin files in my theme directory instead and put the code that it would normally insert on its own into the sidebar.php.  This is all well documented here: http://themeshaper.com/2012/11/08/the-wordpress-theme-sidebar-and-footer-templates/

So today is day 3 and there's little to nothing done (mainly because I've been studying all day today for a calc quiz I need to pass the marking period tomorrow).  This means that tomorrow and the day after will be a couple power work days (no sleep).  Guess that's it.