asechrest
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Done, but with errors on pageYou have quite a few errors. Potentially if you clear those up, this will clear up as well.
Forum: Fixing WordPress
In reply to: 2 parameters for query_postsI think it would be:
query_posts('cat=1&showposts=1');
Forum: Fixing WordPress
In reply to: Excerpt shows […] instead of the text before <!–more–>That’s the expected functionality of the_excerpt(), which displays a teaser of the post and ignores the <!–more–> tag.
What I think you want to use is the_content().
Try changing this:
<?php the_excerpt(); ?>
To this:
<?php the_content(); ?>
See if that works.
Forum: Plugins
In reply to: [Plugin: List category posts] Doesn’t work for added pagesThis plugin works fine for me on pages I create.
Forum: Fixing WordPress
In reply to: Side bar not appearing in all pagesI see one sidebar, though it’s wrapped below the posts content (viewing on IE6 a the moment). Is there supposed to be more than 1?
I don’t have a solution for the sidebar wrapping issue, unfortunately, but you can search the forums as the problem is common.
Forum: Fixing WordPress
In reply to: Group posts by author’s roleYou can do the following:
1) Restrict users to certain roles/capabilities using Role Manager
2) Assign a parent category to front page posts
3) Force certain users to that category using Level2Categories
4) Hide all but that category from the front page using Advanced Category ExcluderYou could then use something like List Category Posts to list other categories on a separate page, or hard-code it. (If anyone knows of a more robust plugin to display posts from a certain category on other than the front page, let me know.)
Forum: Fixing WordPress
In reply to: Tracking Parent / Child Relationships in HeaderHere’s a popular one: Yoast Breadcrumbs
Search the plugin directory for Breadcrumb for more optinos.
Forum: Plugins
In reply to: Do not display a specific Widget for a specific pageTry the Widget Logic plugin with the is_page() conditional.
Forum: Everything else WordPress
In reply to: User statusThe plugin doesn’t appear to be working for me, though it’s late and I’m awfully tired. No online/offline status shows after inserting the given line of code in my comment loop. I’ll give it another go tomorrow.
Forum: Everything else WordPress
In reply to: User statusJust FYI, your plugin appears to conflict with the wp-useronline plugin by Lester Chan.
The error is:
Fatal error: Cannot redeclare useronline() (previously declared in /home/sechrest/public_html/wp-content/plugins/wp-useronline/wp-useronline.php:86) in /home/sechrest/public_html/wp-content/plugins/WP-Online-Status/WP-online-status.php on line 122
It appears both plugins declare a useronline() function.
I changed the name of your function and the add_action() call that uses it as well, and it at least allowed me to activate the plugin. Haven’t yet tested functionality.
Forum: Themes and Templates
In reply to: Sidebar drop in IE / links in sidebar don’t workFair disclosure: I’ve only been playing around with WordPress for a month and I know very little PHP/CSS, so you’re not exactly getting advice from an expert here. Someone else can jump in any time.
The wrapper is 810px, the content is 480px, and the sidebar is 280px. I tried decreasing the widths and the sidebar still drops down.
Not sure what to tell you here. Perhaps the content of one of the containers is pushing the width larger? I once had a tag cloud plugin in my sidebar whose width I could specifically alter. Even though I hard-coded my sidebar width, the tag cloud was larger and caused the adjacent bar to wrap below. I’m shooting in the dark with this solution. I’d suggest backing up your CSS file and then just playing around with the widths some more.
Also, do you know how to make the “Rockabye Baby Blog Open For Business” link stay in line with the rest when the text is so long that it wraps?
Not sure, but could it be that you’re missing the
<ul>
tags here? I don’t see them when I view source. Wrap your<li>
‘s in<ul>...</ul>
and see if that helps. That’s the only idea I have.<div class="box"> <li><a href='https://www.rockabyebabymusic.com/blog/?p=62' title='Rockabye Baby! Blog Open for Business'>Rockabye Baby! Blog Open for Business</a></li> <li><a href='https://www.rockabyebabymusic.com/blog/?p=60' title='Test'>Test</a></li> <li><a href='https://www.rockabyebabymusic.com/blog/?p=48' title='test'>test</a></li> <li><a href='https://www.rockabyebabymusic.com/blog/?p=44' title='This is a sample title'>This is a sample title</a></li> <li><a href='https://www.rockabyebabymusic.com/blog/?p=41' title='test'>test</a></li> <li><a href='https://www.rockabyebabymusic.com/blog/?p=39' title='I really love tests'>I really love tests</a></li> <li><a href='https://www.rockabyebabymusic.com/blog/?p=36' title='Another Test'>Another Test</a></li> <li><a href='https://www.rockabyebabymusic.com/blog/?p=6' title='Test'>Test</a></li> <li><a href='https://www.rockabyebabymusic.com/blog/?p=1' title='Test'>Test</a></li> </div>
Forum: Fixing WordPress
In reply to: How do I edit a file outside of WordPress@asechrest; Good question,
I shoot film and video all over the world, so If I know I will be flying to… Lets say Africa to shoot a documentary on Sat. Where I know I will not have internet connection. Friday evening I want to be able to download a backup of my WP blog to my laptop and make all my edits while I am away then upload when I return.
Well, I think your best bet would be to draft your post in a basic text editor in HTML, then copy/paste to the write post screen in HTML mode once you return. You know where your photos will be stored and you know (or can learn) the HTML needed to style the post, so you can prepare most of it ahead of time.
Forum: Themes and Templates
In reply to: Sidebar drop in IE / links in sidebar don’t workGenerally, I’ve fixed this on my site by decreasing the content or sidebar widths just a bit.
I don’t know why it display differently on IE, but this is how I’ve fixed mine in the past. Basically IE seems to think the left side and sidebar divs are too wide for the full content container, so it wraps the sidebar below it.
Give it a try.
Forum: Fixing WordPress
In reply to: How do I edit a file outside of WordPressSomeone more versed in this correct me if I’m wrong, but WordPress doesn’t store posts and pages in “files,” per se. It stores post and page and user data in the database and calls it from there.
So if you make a post from your WordPress dashboard on Friday, then you travel over the weekend, you can’t simply go into your server, find “the file” associated with Friday’s post, and edit and reupload.
The files you see on your server style and manipulate the data stored in the database (I think). You can’t point to any single file that is “your homepage,” or “page x.” Your homepage uses header.php, footer.php, index.php, sidebar.php, function.php, etc., plus extracts data from the database. It’s not simply a home.html file that you can edit, upload, and overwrite.
You could probably hard-code something in one of the files which would then show up on your page, but that’s a pretty ugly solution if you’re going to be doing it regularly.
@jeremymccann
My question would be, if you have internet access to upload an edited file to your server, why not just connect to WordPress and create a new post or edit an existing one? Or prepare a post ahead of time with publish date in the future?Ok, I’ll do some more work with it and see what happens. Thanks.