CogBlogged under ‘Wordpress’

These posts document experiments in hacking and tweaking Wordpress; I hardly call myself expert, but I do like to tinker under the hood. If there is something I can do for you, bark my way or visit me at http://cogdog.it

Multisite Thinking

cc licensed ( BY ) flickr photo shared by Kevin Gilmour Apparently there is a strain of Technology Fatigue swirling around I've been hearing a lot of technology fatigue from faculty this year. — Bryan Alexander (@BryanAlexander) January 15, 2014 I do not have a cure. Maybe try a nap? I do not deny the feeling and I waft it myself. You can either mire in a stupor or change things up and find something that excites you (c.f. Curly’s Law). It’s not limited to technology; if you are not continually retooling your approach, then the heavy feeling is imminent. Over the last few months, I have started to realize that my designs for a number of WordPress based projects have been focused on the singular need, not the longer term iteration. What? I worked on a project in 2012 with Nancy White to create a ds106ish blog aggregating course […]

(see the full barking...)

Backdooring a WordPress User Admin Account

cc licensed ( BY NC SA ) flickr photo shared by amanda tipton Understanding some of the database structure of wordpress can help you out of some jams. Ot maybe make some new ones. I had a recent situation that may never happen for someone else, but knowing something about the way WordPress stories user account information shortcutted a problem. The situation is a client who hired me to move their web site, and help create a new design. The first part has taken much longer than expected because the person who managed the site was rather… tightfisted with control. The ftp information provided never worked. The client who the site belonged to did not even have admin access to their own site, so they could not even make me an admin account. But I was provided the login to phpMyAdmin. And that is all I needed. The basic thing […]

(see the full barking...)

Styling Down those Oversized Images in WordPress

cc licensed ( BY NC ND ) flickr photo shared by Reema This blog’s crusty old theme (I still like it, sue me) has a pretty narrow width content column, 500px fixed. I typically size my media to fit. Since I have been syndicating content into here from my other blogs– my Barking Dog photo site puts images in at 950px wide, and my ds106 tricks site is at least 800 wide, I end up with posts requiring manual editing. Here is an example, the post originally at ds106 tricks has images 71- px wide, so when they are syndicated here, I get cruft like: The images blow wide, at the top its not horrible, they are behind the sidebars… but it bothers my design sense. I’ve noticed on themes like the stock WordPress Twenty-Eleven -Twelve, -Thirteen that it seems to magically size all images wider than the column width […]

(see the full barking...)

WordPress Dashboard Menus of Your Own

In my development work on the template for a ds106 assignment bank site I’ve been learning a bit more how through code I can add menus and submenu items to the wordpress dashboard. I was thinking about that while editing some of the items set in the queue for the Daily Create. On this site, each published post is a single daily create, the ones that people submit via our form end up as draft posts, and the ones lined up ready to go are scheduled posts (published but set to a future date). The thing is when working with these, I end up having to first go to the posts menu, then clicking the menu link for “Scheduled” or “Drafts” to edit: And I was wondering if it would be possible to add some submenu items to the Posts menu on the left side to reduce the clicks by […]

(see the full barking...)

Creating a Page for Last 100 Posts in your WordPress Site

Because she’s #ds106 #4life and an awesome grandma… #ds106 I'm looking for a way in WP to add a page that shows all of my blog posts. HELP? @cogdog @timmmmyboy http://t.co/CFxbAwhm6y — Rochelle Lockridge (@Rockylou22) August 25, 2013 I do have one of these on CogDogBlog- mainly because I wanted a reference way to be able to grab the links to my own posts when I write new ones. The way I did it is a bit arcane (especially since I did it like 4 years ago), but here is a method that should work for anyone with a self hosted WordPress site. (1) Make a copy of your template’s page.php file and name it something like page-last100.php. (2) At the very top, above everything else add: <?php /* Template Name: Last 100 Posts */ ?> Doing this allows this to appear as am optional template in your WordPress Page […]

(see the full barking...)

New Site, Look for True Stories of Open Sharing

I was not happy with the way my site was working out to present the new collection of True Stories of Open Sharing. I found my categories were forcing me into artificial classification. And the nifty gizmo I had used previously, CoolIris, for the “wall of media”, works, but is annoyingly tedious to update (manually editing of a Media RSS file). I also thought I could embed videos directly from YouTube, but no. The answer? Of course, a new WordPress site – http://stories.cogdogblog.com/ I was hoping for a theme that was kind of like a video carousel, where I could load stuff in a lightbox overlay off the front page, maybe from a post excerpt. Most themes I found were ones that had nice front ends, but pointed to videos on a post. And heck, I already had one working well for my photo gallery with customizations done to randomize […]

(see the full barking...)

Menu-izing ds106 Assignments Site

Ir’s been fun to do some redesign and alignment of the ds106 web sites. I’ve long had an interest in trying to make the ds106 Assignments site into more of a template that could be used to create similar sites, and that just got a little bit closer to possibility. The entire 106 fleet is a WordPress multisite, the main site and the Daily Create site both use the Parallelus Salutation theme, so they were easier to coordinate; the one change was using incorporating the stressed 106 logo as part of the TDC. They both use menus at the top, and I’ve set up the rightmost ones to be “ds106″ navigation ones.

(see the full barking...)

Building the ETMOOC Blog Hub (part 2)

cc licensed ( BY NC SD ) flickr photo shared by epc In my last post, I quickly overviewed the wordpress customizations I did to set up the ETMOOC Blog Hub. Using the Feedwordpress plugin for a few feeds is easy to do, and it does a rather slick job of finding feeds from a blog URL. The messy part is dealing with a lot of blog feeds. Getting this part right is more than just tossing URLs into a magic box, you have to have a good grasp of how RSS feeds work in different blogs. It’s messy. Because of those pesky humans. Over at ds106 we have a rather elegant blog registration system that Martha Burtis designed, that actually does a web registration and automatically enters someone’s new blog into Feedwordpress. The thing is there is a bit of variability to deal with when allowing people to bring […]

(see the full barking...)

Building the ETMOOC Blog Hub (part 1)

cc licensed ( BY ) flickr photo shared by agiledogs I’m really getting the hang of setting up these FeedWordPress powered syndication sites- I wrote a few days ago about using this approach to create a twitter archive site for the ETMOOC site. At the same time, and more over the last few days, I have been tweaking the edges and putting into motion what should be a core of the site, the aggregation site for participants in the MOOC which starts next week. Alec Couros has that draw power! I heard well over 1000 people signed up; the ETMOOC Google+ Community is brimming with intros of educators from all levels and corners of the world. As a little bit of architecture, the main ETMOOC site (http://etmooc.org/) is running WordPress multisite, using URLs for subsites, and I have rolled out the two extra sites, the Twitter Archive (http://etmooc.org/tweets/) and the […]

(see the full barking...)

Building A Class Sized Syndication Bus

cc licensed ( BY NC ) flickr photo shared by Thomas Hawk The “syndication bus” is the Groomian term for the use of RSS aggregation technology that allows a class/community to run as both a hub and a decentralized network of blogs- individuals publish in their own space. The class or central site exists to subscribe to RSS feeds from those blogs to republish them in aggregate form. This is carried out at big scales in ds106 using WordPress and the Feedwordpress plugin. I’m working with Alec Couros to put FeedWordpress into play as both a blog hub and a twitter archiver for his ETMOOC which starts next week. Conceptually, what we have done with WordPress is the same that is done for many of the Connectivist MOOCs powered by Stephen Downse’s gRSSHopper. But it comes into play at smaller scales as well -many classes on UMW Blogs are run […]

(see the full barking...)