david
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: How do I change my forum email addressSame. Shame.
Forum: Alpha/Beta/RC
In reply to: WordPress 2.7 admin look?I respect the work of the community and I don’t want to gloss over the many improvements in 2.7, but I agree that the interface has become too scripted, superfluous, and a tad unconventional.
As a designer and developer I fall into the same trap all the time, so I am not throwing stones. It’s tempting to do so many things in life, because we can.
The customizations feel on some level like proof of concept parlor tricks which don’t always streamline tasks or keep me oriented. I was also surprised at some of the type choices, and the overall busyness and lack of strong identity in the icons.
Forum: Fixing WordPress
In reply to: Stupid Question, please helpfrom the codex:
<?php comments_template() ?>:
This tag includes the file comments.php from your current theme’s directory. If that file is not found, it will instead include wp-content/themes/default/comments.php.Since I’m not using themes I probably just need to edit this file.
Forum: Fixing WordPress
In reply to: Stupid Question, please helpYeps, sorry. That was pretty unclear.
My current file did not contain “comments_template()” – nor that it does things are working better.
Can anyone now tell me, what code does “comments_template()” spit out? I would like be able to edit the code myself. Is there a physical template or chunk of code I can paste in that does the same thing as comments_template() ???
thx.
dForum: Fixing WordPress
In reply to: Stupid Question, please helpI have been studying it for a few hours now, I think I need someone to throw me a line here. I just need the code I can paste into a flat file and get the contents of a specific post (by pinpointing it’s ID), and then below that post to have the comments and the comment form. It should be easy, but I think WP’s template system obscure’s this a bit – at least for someone who doesn’t really know PHP.
I have figured out how to get just a specific post to show up, thanks to your help skippy. This is as far as I am with it.
<?php query_posts('p=1'); //retrieves post with ID 1 ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php if ( (in_category('2')) ) { ?><div class="post">
<h3><?php the_title(); ?></h3>
<div class="entry">
<?php the_content(); ?>
<small>last edited: <?php the_time('F jS, Y'); ?></small>
</div>
</div>
<?php } ?><?php endwhile; else: ?>
Sorry, no posts matched your criteria.
<?php endif; ?>I have a loop limited by post ID, and…er..also by category, just for the hell of it. Now when I try to display comments it goes all wrong. I need to copy and paste in some code from another template – can someone just tell me which one? Essentially, what I want is to replicate the perma link page., only constraining it to a specific post ID. If you can give me any help I’d really appreciate it!
d
Forum: Fixing WordPress
In reply to: Stupid Question, please helppost ID that is, …. trying to substitute “the_ID” for “in_category” doesn’t seem to work.
Forum: Plugins
In reply to: coppermine or Gallery or what do you reccomend?Wait for Gallery 2. I don’t think it can be beat, but damn they are slow in releasing it.
Forum: Plugins
In reply to: is there a plugin substitutes images for posts; links to post?I think this is what you are looking for: https://www.curioso.org/2004/05/28/pictpress-091/
Forum: Fixing WordPress
In reply to: WP 1.5 Template system questionYes, thanks Randyd.
But I think it must either be….
1) something to do with 1.5
2) some obvious error on my part or my config…You’d think it would be exactly that simple,…that one could in fact just rename index.php to, for example, “poop_monkey.php”, and then just leave that file on the root of your web dir and point your browser to it and boom.
Just when *I* do that I get a completely empty page. I mean EMPTY. without a single byte. It can find the page…it just can’t process it to any output.
does this have anything to do with the fact that in 1.5 the only thing living in index.php is…
<?php
/* Don't remove this line. */
require('./wp-blog-header.php');
?>
Ah shucks….I guess this can’t be done in WP. Seems so simple. Thanks to everyone who has tried.
Forum: Fixing WordPress
In reply to: WP 1.5 Template system questionThanks, yes, I have looked at mambo before. But maybe I should look at it again.
I am still drawn to wordpress and MT however for their underlying simplicity – though the fact that you can’t insert a simple WP loop into a file called “poop_monkey.php” and get it to spit out a list of articles is rather bothersome. Makes me question if I have just not communicated my problem clearly enough – or if the right person just has yet to come along and read it. If the new theme system in 1.5 really is so restrictive than I will definitely give WP a rest.
I’ll ask one more time.
How the blazes do you create a file which is named something different from the names deemed acceptable by the theme system – and get it to execute the WP code contained within it….and access it from your browser. how the blazes? uggh.
cheers.
Forum: Fixing WordPress
In reply to: WP 1.5 Template system questionMost designers who know a little PHP probably recognize the problem I am having – while to hardcore WP nerds my problem might seem elementry.
Are there some “mappings” somewhere that say which templates should be evoking certain functions? I looked through wp-blog-header.php and it seemed as if there might be something there. Uggh. Please check the above post and if anyone know of a solution or a possible lead please let me know. I can’t believe it is this complicated…it should be easy right?
Forum: Fixing WordPress
In reply to: WP 1.5 Template system questionThanks OG. It is a very good resource but I am still not any closer to figuring this out. I get themes, and think they are great.
…what I don’t get is how to make truly custom templates. Note: this is different from *customizing* existing templates. Let me give you an example.
I want to make a template called “top_teasers_right_fart_.inc.php”, and in that I want to place a standard WP loop, perhaps contrained to a category called “teasers”…and then I just want to include that file in my own page. Perhaps not even using WP to render my index page…just including bits and pieces of dynamic content within my own page.
Maybe you could say that I want to use WP more as a CMS – to store, organize, and manage content. Not so much as a publishing system which requires that a template be given a certain name so that it can acticvate the right process.
I guess what I am looking for is actually movable type. Without the rebuilding and other annoying archiving features.
If anyone knows of a plug-in – existing or in development – which would work with 1.5 to say, make the creation and management of *completely custom* templates possible please post here or forever hold your peace.
Forum: Fixing WordPress
In reply to: WP 1.5 Template system questionhey Thanks. I look forward to see someone making a plug-in for managing custom templates. There was some reference in the WIKI to using plug-ins to manage these, but no more information.
Anyone know of a plugin for this, either available or in development? I don’t want to be locked into making the template names as dictated by the theme.
Forum: Fixing WordPress
In reply to: WP 1.5 Template system questionanyone?
Forum: Fixing WordPress
In reply to: WP 1.5 Template system questionThanks orangeguru, dianeV, anon.
OG: I couldn’t get anything out of this particular link however (no content on this page), which might have been the most important one.
https://codex.www.ads-software.com/Themes
The rest are good and useful as I’ll have to hack the loop eventually – and as DV notes – make “clever” use of the template tags to get the result I am looking for.
The problem is that I am still not any closer to that stage of hacking on the loop or worry about broken archive links,etc. Right now I just basically want to be able to rename index.php to something and then have it show up in my browser.
I think it is the theme system which is preventing that. I have tried making a new template (just a copy of index) and placed it everywhere trying to reach it without any luck. As it is now, I can actually “find” the new page (as in, no 404), but the page is empty. nothing in the src code.
Where should you place these new templates to make them executable/reachable? I also have a feeling that this is something to do with an emerging feature.
still thankful