28
Feb
Posted by Jeremy in Computers, How-To, Programming | Tags :category, comma, content themes, home, numeric id, page, php, query posts, theme, twitter, url note, wordpress get category id, wordpress hide category, wordpress hide multiple categories, wordpress hide tag, wordpress home, XXX | No Comments
Sometimes you don’t want a particular category to appear on your WordPress home page. For me, I create weekly Twitter digests, and I’d rather they not be part of the page welcome.
The process of hiding them actually took me a little bit to figure out, so I thought I’d share. It’s rather simple, so don’t blink!
Simply edit “index.php” in the wp-content/themes/<your_theme_here>/ directory.
Between the lines:
<?php if (have_posts()) : ?>
and
<?php while (have_posts()) : the post(); ?>
Insert the line:
<?php if (is_home()) { query_posts("cat=-XXX"); } ?>
Be sure to replace “XXX” with the unique numeric ID of the category you want to ignore. To find the ID, log into your admin, navigate to your categories, and select the one you want to ignore. The number will then appear in the URL.
NOTE: Make sure you don’t delete the “-” before the “XXX” or else you will ONLY show entries from the category.
If you update your theme, you will probably have to repeat this procedure.
If you want to hide multiple categories simply append the other categories to the string with a comma: (Example: “cat=-12,-82,-4″)
It also follows, then, that this technique can also be used to hide tags, posts, etc.
28
Jan
Posted by Jeremy in Commentary, Politics | Tags :barack obama, belts, cause, facebook, Families across the country are tightening their belts and making tough decisions. The federal government should do the same., Government, government president, group, jist, judge, obama, official, page, president judge, President Obama, Representative, salary, Senator, state of the union, Tax dollars should not allow a U.S. official to make MORE than their salary, taxpayer, taxpayer dollars, U.S., union speech | No Comments
This is a cause that I have come up with, and I think it a noble one. Get more details on the Facebook group page, but the jist is:
U.S. taxpayer dollars should never allow a U.S. official (Representative, Senator, President, judge, or anyone else whose salary is paid by public taxes) to make MORE than the salary for his/her position.
Example: If a Senator’s 2009 salary is $174k, but he/she made $80k on a real estate deal in 2009, they would only be allowed to keep $94k in wages from the federal government.
President Obama said in his State of the Union speech last night:
Families across the country are tightening their belts and making tough decisions. The federal government should do the same.
I think my idea is a very simple way for him and for Congress (and others) to demonstrate that. Check it out.
9
Nov
Posted by Jeremy in Computers | Tags :browser, computer etc, contention, embeddable browser, firefox, html javascript, is ie6 dead yet, javascript browser, kill ie6, merit, outdated browser, page, point, resource hog, slow computer, web | 1 Comment
There’s not much contention that IE6 is an outdated browser and is not suited for the modern web. If you don’t buy that just on sheer merit, there’s no point to read the rest of this article.
Most informed articles addressing the issue have boiled “the reason why” down to the fact that those users can’t upgrade (restricted by work, slow computer, etc.)
However, I wonder how it would be to build an HTML/JavaScript browser (which is effectively what Firefox currently is) that embeds directly into IE6 by visiting a webpage.
A user loads IE6, sets his/her home page to “awesome-js-browser.com” and then navigates from within that page.
I would venture that this would more of a nuisance and a resource hog than anything, else I think Mozilla would have tried it …
or have they? …
3
Jan
Posted by Jeremy in Music, News Archive, Personal | Tags :demo albums, everyone, Happy, happy new year, minor facelift, musical career, New, new stuff, old songs, page, site, year | No Comments
Happy New Year everyone! I cannot believe it has been two years since I put this site online. Hopefully, this year will bring great things to my musical career. (Of course
)
As you have probably noticed, I have made a minor facelift to the front page in order to facilitate use of my site for the increased number of new users I am receiving (Thanks in great part to the Million Dollar Homepage). Let me know what you think of the updates.
I feel very confident now in my projects, and I hope to hit the studio heavily to pump out my new stuff, as well as new versions of the old songs from my “demo albums.” I’ll keep you posted. You’ll notice the songs I update will appear as underlined on the Albums/Projects page.
30
Jun
Posted by Jeremy in Music, News Archive, Personal | Tags :album, artwork, entry, frenzy, gimp, hoards, info, page, panties in a knot, self, shout | No Comments
Yet another album, my obligatory “Self-Titled” album reaches my info page. In all my frenzy I had forgotten I had some songs written, and it just so happens they belong on the “emotional” album I talked about in an earlier entry. Anyway, the artwork for the cover is by far my most elaborate to date. I am just such a big fan of the gimp !
In other news … still no recordings, but I’ll be working on it soon. I have a lot of projects (including non-musical ones) going right now so it’s hard to really dedicate hoards of time to one or the other. Once all the recordings are done, they will be available here, just hang tight. It will be at least a month though so don’t get your panties in a knot. Ok, later. Oh and I want to give a shout out to the members of Unborn. Man you guys rock ! haha …
30
Jun
Posted by Jeremy in Music, News Archive, Personal | Tags :album, artwork, entry, frenzy, gimp, hoards, info, page, panties in a knot, self, shout | No Comments
Yet another album, my obligatory “Self-Titled” album reaches my info page. In all my frenzy I had forgotten I had some songs written, and it just so happens they belong on the “emotional” album I talked about in an earlier entry. Anyway, the artwork for the cover is by far my most elaborate to date. I am just such a big fan of the gimp !
In other news … still no recordings, but I’ll be working on it soon. I have a lot of projects (including non-musical ones) going right now so it’s hard to really dedicate hoards of time to one or the other. Once all the recordings are done, they will be available here, just hang tight. It will be at least a month though so don’t get your panties in a knot. Ok, later. Oh and I want to give a shout out to the members of Unborn. Man you guys rock ! haha …
30
Jan
Posted by Jeremy in Music, News Archive, Personal | Tags :binge, cd project, heaven, open mics, page, project, triad, underway, update, website | No Comments
Ok it appears as though my website is officially underway.
The most immediate update is that I am working on a two-cd project entitled “Heaven and Hell.” I have been working on this since about August (2003), and it may take quite a while to complete. Who knows ? I have been known to do binge writing. Nonetheless, you can keep up with this project here.
The other project that is underway is that I am recording bass tracks for my old releases. As you can see on my albums page, I have recorded two albums to date. Both were released on mp3.com which has since been dissolved. However, the official releases were It All Comes Out October 1, 2002 and Triad April 2, 2003. You can check these out on the albums page.
Any other news would include my hoping to start playing a few open mics, maybe get in a band. We shall see I suppose.