thesm
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: preg_match function error after permalinks changeOK..nothing like turning all custom modules off…then setting your desired permalinks and then turning all the modules back on again…
Now working!
🙂
Forum: Fixing WordPress
In reply to: preg_match function error after permalinks changeanyone? suggestions?
Forum: Fixing WordPress
In reply to: Warning: preg_match Error Messagesara…how did you fix this? I have the same problem after just turning on permalinks for ‘day and name’.
I get a slightly different error:
PHP Warning: preg_match() [function.preg-match]: Compilation failed: nothing to repeat at offset 2 in /home/site/public_html/wp-includes/classes.php on line 211 (also on 210)the warning appears in the header of the browser.
I’m not using anchors (#)…what’s going on? I’d rather not use default with ‘?p=’
thanks
Forum: Fixing WordPress
In reply to: Image re-sizing issues and ‘read more’ issuesWe actually managed to remove the post thumb – gave up on images after HOURS of trying – and found a way to edit the content teaser limit instead. So we now have more text flowing and have lost the white space.
The image is uploaded using the wordpress media feature (image with a caption), so using the post thumbnail which we tried also stripped out the caption.
It’s not entirely resolved yet, because setting the read more teaser length to a number of characters can prove disastrous if the cut off occurs in the middle of bold formatting in the top post. We’ve found the formatting is extended throughout the second post and all the text in the next post is made bold!
So this is going to require micro-managing – not what one wants with a CMS, and I’m not going to be able to hand this over to the novice end user to manage either. It’s a workaround – not ideal at all.
I’m really baffled that there seems to not be a to edit image sizes, with captions, on a template by template basis. Seems something people would need……..?
Forum: Fixing WordPress
In reply to: Image re-sizing issues and ‘read more’ issuesJust to add – I changed the image associated with post to a long thin one to better demonstrate the issue, and now we have a ‘thumbnail’ of the previous image, plus the new image alongside. God I could weep. Just not getting how the logic works at all.
Forum: Fixing WordPress
In reply to: Image re-sizing issues and ‘read more’ issuesHi Esmi,
We’ve now added theme support post thumbnails to the functions.php file.
Then in the loop we added this:
<?php the_post_thumbnail(array(200,200)); ?>just before<?php the_content(__('(Read more...)')); ?>The reports page now has TWO images appearing in the first post on the page, and one on the second post. There is no caption container box anymore either?
How do we remove the original image, have the caption?
Just to note we’re using teaser, not excerpts. Does this make a difference?
Forum: Fixing WordPress
In reply to: Image re-sizing issues and ‘read more’ issuesApologies.
Here’s a link: http://bit.ly/ca9Us1
The page giving me a hard time is the ‘reports’ page ( to be compared with the posts appearing in default/homepage template). But I have other custom pages that need to be set up along similar lines.
Many thanks.
Forum: Fixing WordPress
In reply to: Problems with customised page template and ‘read more’Thank you Michael. I wasn’t able to fix the issue using the heirarchy, but we did use conditional tags, and that seems to have worked fine.