3stripe
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: Plugin idea – Syntax coloured theme editor?Thanks Jalenack looks useful!
Forum: Everything else WordPress
In reply to: Plugin idea – Syntax coloured theme editor?Thanks Lorelle, all of these seem to be for posts on a blog though, I meant something that would colour-code a text file when viewed inside the Theme Editor of the dashboard?
Forum: Requests and Feedback
In reply to: How do I search post metadata?If you want the one line solution, this works for me, to return one value from a custom field, when used inside The Loop:
<?php echo get_post_meta($post->ID, 'customfieldname', $single = true); ?>
Forum: Fixing WordPress
In reply to: Displaying a category archive outside of its category page?Ok I kind of got it sorted thanks to https://www.ads-software.com/support/topic/32792
<?php $my_query = new WP_Query('category_name=MP3s&showposts=10'); ?>
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
<h2 id="post-<?php the_ID(); ?>">
<a>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
<?php the_title(); ?></a></h2>
<small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
<?php endwhile; ?>Still doesn’t look the same as a normal archives page though ??
Forum: Fixing WordPress
In reply to: Category/Page problems driving me crazyWeird, that just displays the page inside itself again?
Forum: Fixing WordPress
In reply to: Category/Page problems driving me crazyOk I just tried that, by inserting my archive.php snippet into mp3s.php:
<!-- page content -->
<div id="container">
<div class="content">
<!-- import excerptloop -->
<?php include "excerptloop.php"; ?>
<!-- import excerptloop --><?php posts_nav_link(' — ', __('« Previous Page'), __('Next Page »')); ?>
</div><!-- content -->
</div><!-- container -->
<!-- page content -->But this just outputs “Sorry, no posts matched your criteria.”
The excerptloop goes like this:
<!-- blog posts start here -->
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<!-- the title/permalink starts here -->
<div class="post" id="post-<?php the_ID(); ?>">
<div class="contenttitle">
<h2> <?php the_time('j/m'); ?> : <a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
</div>
<!-- the title/permalink stops here --><!-- import metadata -->
<?php include "metadata.php"; ?>
<!-- import metadata --><!-- the post content starts here -->
<div class="contentbody">
<?php the_excerpt(); ?>
</div><!-- contentbody -->
<!-- the post content stops here --><div class="feedback">
<?php wp_link_pages(); ?>
</div><!-- feedback --></div><!-- post -->
<?php comments_template(); // Get wp-comments.php template ?>
<!--
<?php trackback_rdf(); ?>
--><?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?><!-- blog posts stop here -->
Forum: Fixing WordPress
In reply to: Category/Page problems driving me crazyCool, that sounds fair enough…. can I ask one last question…
How could I make https://www.clubtng.com/fresh/mp3s/ look like https://www.clubtng.com/fresh/category/mp3s/ …. is it an archive loop I need to insert into my mp3s.php page template… whatever I try just gives me a ‘no posts found’ error?
Forum: Fixing WordPress
In reply to: Category/Page problems driving me crazyCool, thank you kindly skippy, that’s what I’m after! (Although couldn’t this be build into Edit Page??!!
Forum: Fixing WordPress
In reply to: Category/Page problems driving me crazyYeah I guessed I could do this, but it is really bugging the perfectionist in me now, I just want to flip them back to this other category for peace of mind I guess…. wahh!
Forum: Fixing WordPress
In reply to: Category/Page problems driving me crazyAh ok so the dropdown menu only appears if there is more than one page template available, that helps (a bit obscure though). Thanks!
About my static pages being asigned to Events…. I think I created the static pages before creating the categories. So after I created the categories, all my static pages were stuck with being assigned to the first category I added, which was Events…
Is there any way to change this, apart from deleting al l the pages and entering them again!!??? Maybe directly via mySQL?
Forum: Requests and Feedback
In reply to: New Search on this site — Its bad.Just tried searching for search, very weird!
Gotta agree with ya that the new search function is not quite so useful as the old one.
Forum: Everything else WordPress
In reply to: Best text editor for XP?Thanks guys, very helpful as ever ??
Notepad 2 looks good, not as pretty as Smultron but looks like it should do the job – would use Dreamweaver but it takes too long to load up for my liking.
Forum: Fixing WordPress
In reply to: is ‘www.mydomain.com/ categoryname/’ possible?Ah think I have a sneaky solution ??
Set the category base to go up a directory, and then back to the main directory again…
Category base: /../fresh
Seems to work a treat! Nothing like answering your own posts as well…
Forum: Fixing WordPress
In reply to: is ‘www.mydomain.com/ categoryname/’ possible?Interesting thread, I’m scared to try this now as I might break something!
Can anyone please advise on how to fix the permalinks on my (very rough beta) site…. I have static pages to match each category of post… so for MP3s there is a static page called MP3s, https://www.clubtng.com/fresh/mp3s/
I also have a post category called MP3s, so each post goes into this same directory, eg https://www.clubtng.com/fresh/mp3s/2005/electrobreaks-mix/
But now if you click the MP3 category link in the meta data, you are taken to https://www.clubtng.com/fresh/category/mp3s/ because my permalinks are set /%category%/%year%/%postname%/
(Sorry to bore ya by spelling this all out, but think it might help me get my head round all this!)
Thanks for reading this far…. is there a safe way in 1.5.1.2 to emit this extra ‘category’?
Forum: Fixing WordPress
In reply to: Dashboard Not UpdatingIn terms of usability, the dashboard still doesn’t make much sense to me – 90% of the time surely you log in to update the content of your site – not look for updates elsewhere in the world. (well I do anyhoos)
I’d prefer to be able to see at a glance exactly what was happening around my site on the dashboard, and have one click access to as many things as possible, by default… (err… like in a car i guess, maybe that’s where you guys got the name from?)
If I could get to my most tweaked css files fast, for example, I would be an even happier bunny!
In the meantime I can live with a blank screen for a while I guess…