Joshua Sigar
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Dynamic menu highlighting, wp_list_pages and sub-pagesCan you not override the children styling with CSS? Do you have this in action?
Yeah, what that guy ^^ said.Forum: Fixing WordPress
In reply to: Two blogs in oneYou DON’T put “kei” nor “Jim” in the code. you will have only, again, the following.
LINE 7
<?php query_posts( 'author=1&showposts=5' ); ?>LINE 21
<?php query_posts( 'author=2&showposts=5' ); ?>Forum: Fixing WordPress
In reply to: Reverse publish order to ascending?Add the first line of the following
<php query_posts( $query_string . '&order=asc' ); ?>
//followed by the existing Loop code
<?php if( have_posts() ) : ?>
<?php while( have_posts() ) : the_post(); ?>
...
Forum: Fixing WordPress
In reply to: Two blogs in oneSay Kei has author id of 5 and Jim has author id of 7, then the LINE 7 and 21 of http://pastebin.com/328591 will look like the following
LINE 7
<?php query_posts( 'author=5&showposts=5' ); ?>LINE 21
<?php query_posts( 'author=7&showposts=5' ); ?>Go to admin panel User -> Authors and Users to find out the author id.
Forum: Fixing WordPress
In reply to: Using <hr /> TagsAre you saying that the
<hr />is wrapped by<p></p>tags. If so you might want to use the following plugins, but then you have to code all<p>tags for your posts manually.
http://dev.wp-plugins.org/wiki/TextControlForum: Fixing WordPress
In reply to: Two blogs in oneBut it only shows the title and I was hoping that a summary would be shown with a ‘read more’ link.
Consult codex to display more Post-related output http://codex.wordpress.org/Template_TagsAlso with the distance between the two a bit wider.
Make a new thread on “Themes and Templates”So Kei’s post Jims post then on the right Kei’s post Jim’s post.
There are two places where you have to specify the author ids; I commented it, you should spot them easily. Make sure each of them has the correct value.
http://pastebin.com/328591Forum: Fixing WordPress
In reply to: Two blogs in oneWhy the link you reference gave me an error? I don’t want to figure out what’s wrong with that theme.
1. Start with working Theme, say, Classic Theme. Create a file named home.php in
wp-content/themes/classicfolder and paste to it the content of the following.
http://pastebin.com/3285912. copy the following CSS code to style.css in wp-content/themes/classic
folder
.subcontent {
float: left;
width: 250px;
}`Forum: Fixing WordPress
In reply to: ID Posts, Pages, etcID is for the WP internal use, meaning you shouldn’t worry or pay attention to how it behaves.
If you want more human-readable/representable ID, you need to hack up your own solution.
Forum: Fixing WordPress
In reply to: Two blogs in oneCopy the content of the following to home.php in the theme folder. (Create the file if there isn’t any)
http://pastebin.com/328591To customize it more, dig up http://codex.wordpress.org/
To make one author’s posts on the left and the other to the right is just a matter of CSS styling. Something as simple as the following in your style.css file will do it.
.subcontent {
float: left;
width: 250px;
}Forum: Fixing WordPress
In reply to: Two blogs in oneSo do you want to display by author or by category?
Forum: Fixing WordPress
In reply to: Big database fatal problemsGo to admin panel Options -> Reading -> Show at most
Also there’s custom plugin http://rephrase.net/days/05/03/custom-posts-per-page-plugin
http://mattread.com/archives/2005/03/custom-query-string-plugin/Forum: Plugins
In reply to: configuring the timestamp within a plugin’s functionIf you do …
setup_postdata( $post )
..beforehand, you could, then do…
the_date( 'm/d/Y' )Forum: Installing WordPress
In reply to: Changed structure, now get 500 message –Forum: Themes and Templates
In reply to: title codeHow do you insert the_title in the file? Paste the whole file with the_title() inserted. http://pastebin.com
Forum: Themes and Templates
In reply to: title codeSo, what do you get from the_title() then? An error message? Just blank (look at the source code as well)? Or…?
Can you put the_title() and give us the link to the site?