DJD_79
Forum Replies Created
-
Forum: Hacks
In reply to: Same post is showing multiple times on a pageYes, you can say that. I explain:
The blog catches all posts. It’s okay, because the rest are pages.
My archive was a manually (monthly) post that ~with the help of the plug-in inline posts~ created this part of the site.And there was the error, because this post (with all other posts in it) was also shown at my blog page. As a solution: I now have disabled my archive…
Forum: Themes and Templates
In reply to: More tag isn't workingThanks all, I’ve found another way…
Using a new php file just for my blog now.Forum: Hacks
In reply to: Same post is showing multiple times on a page@xephan
Thanks, but I can put every number I want in this box, the php file overules this value. But to avoid any problems, I’ve also set it to 15.Now creating an other way for my acrhive…
Gr. Dennis
Forum: Hacks
In reply to: Same post is showing multiple times on a pageAfter a quick deactivating of all plug-ins, I saw a little piece of code that’s used for my archive in combination with a plug-in.
I gonna check it tonight, but I’m a great step in the right direction.
Thanks!Forum: Hacks
In reply to: Same post is showing multiple times on a pageNice site, thx.
I bookmarked it and will look into this. A lot of the same wrong use of code, not difficult to fix. But no answer for the double posts appearing on this page. Or am I wrong?Forum: Hacks
In reply to: Navigation blog page: previous – nextNice work!! In the php there was actually a line that said:
query_posts('posts_per_page=15');But when I replaced it with your code, everything is working just fine.
Thanks again for the help (y)
Forum: Themes and Templates
In reply to: More tag isn't workingOn a page I’m adding the more tag with the WYSIWYG editor.
That works just fine, but in a post it isn’t possible? Not at all?I will correct the php code esmi, thx.
Forum: Themes and Templates
In reply to: More tag isn't working‘Cause it wasn’t there.
From a search (GIYBF)I came up with this solution, but it isn’t a 100% solution. But why, is this the wrong one? For pages it works fine, but posts not…
D.
Forum: Themes and Templates
In reply to: More tag isn't workingThe code is working, but only for pages. Every blog on my site is a post and in a post it isn’t working. Maybe a different php file?
Inserting the code:
Opening the php in Dreamweaver
Adding this code by replacing the original:<?php global $more; $more = FALSE; ?> <?php the_content('Read the rest of this entry »'); ?> <?php $more = TRUE; ?>Save
Upload the php with Filezilla
Replace/overwite the originalGr. D
Forum: Themes and Templates
In reply to: More tag isn't workingHmmm, I’ve tried another thing:
More does work on pages, but doesn’t in posts…
Forum: Themes and Templates
In reply to: More tag isn't workingOkay, from the index file:
<div id=”content” class=”narrowcolumn”>
and later
<div class=”entry”><?php the_content(‘Read the rest of this entry »’); ?></div>
Forum: Themes and Templates
In reply to: More tag isn't workingHmm, maybe mention my website is a good idea.
http://www.farcows.nlI’ll look this evening what the template files use, thanks.
Forum: Themes and Templates
In reply to: Different headerIs it something like this?
link topicGr. D
Forum: Themes and Templates
In reply to: Another One: Random Image in Headeralchymyth, you’re the best! That did the trick.
I tried to add the wpurl thing, but then I got the blank photoframe again, so I now have the code from the first script. For readers having the same wish / problem, I copy the entire code again:
define('HEADER_IMAGE', include (TEMPLATEPATH.'/banner.php')); // %s is theme dir uriThe file banner.php
<?php /* * Name your images 1.jpg, 2.jpg etc. * * Add this line to your page where you want the images to * appear: <?php include "banner.php"; ?> */ // Change this to the total number of images in the folder $total = "5"; // Change to the type of files to use eg. .jpg or .gif $file_type = ".jpg"; // Change to the location of the folder containing the images $image_folder = "wp-content/banner/"; // You do not need to edit below this line $start = "1"; $random = mt_rand($start, $total); $image_name = $random . $file_type; return $image_folder . $image_name; ?>Many thanks to alchymyth
Forum: Themes and Templates
In reply to: Another One: Random Image in HeaderPS: I’ll add pictures in 1 folder to avoid problems, because the header has a different dimension as the gallery.
Plus I can scale the files, so the size in kb isn’t the same.