Ecko
Forum Replies Created
-
Forum: Reviews
In reply to: [Facebook] Updated to 1.3 Comments have disappearedSorry, I read this and couldn’t help laughing, you used “facebook” and “support” in the same post. I’ve been sending support requests to get my page fixed 3-4 times a week for the past 3 years and haven’t had any reply apart from the automated response.
Forum: Themes and Templates
In reply to: How to link the_attachment_link() to the postNew day, clear head/fresh mind. All working. It might not be the best way, perhaps preg_replace() would be suitable? Anyway, if anyone else wants to show a random post image and link it to the post in WordPress. This works:
<?php $args = array( 'post_type' => 'attachment', // SET POST TYPE 'numberposts' => 5, // SET HOW MANY POSTS TO SHOW 'post_status' => null, 'post_parent' => null, // ANY PARENT 'orderby' => 'rand', // GET RANDOM POSTS ); $attachments = get_posts($args); // IF TRUE.. if ($attachments) { // ... CHURN THROUGH EACH POST ATTACHEMENT AND OUTPUT AS IMAGE LINKED TO POST foreach ($attachments as $post) { setup_postdata($post); // EXPLODE THE PERMALINK AND STRIP DOWN TO JUST THE POST URL // (POST TYPE IS SET TO ATTACHMENT AND RETURNS http://www.domain.com/post-name/attachment/attachment-name) $postURL = explode("attachment",get_permalink($post->ID)); // GET THS POST ATTACHMENT IMAGE $postImage = wp_get_attachment_image($post->ID, $size='thumbnail', $icon = false); ?> <!-- BREAK OUT OF PHP TO INSERT HTML LINK CODE --> <a href="<?php echo $postURL[0]; ?>"><?php echo $postImage; ?></a> <?php } // END FOREACH LOOP } // END IF STATEMENT ?>Forum: Fixing WordPress
In reply to: ImageManager Gone As Well as WordPress ThumbnailsSorry I can’t help, but I’m running WP 2.3+ with Imagemanager 2.4.1 and I’m getting the error:
Error: openImageManager is not defined
Source File: http://<domain>/wp-content/plugins/ImageManager/tinymceplugin/editor_plugin.js
Line: 26So the button is there but does nothing. It’s driving me insane, writing posts in wp always turns out to be a 4hour battle. I’ve emailed the author of the plugin but there doesn’t seem to be much activity on this plugin since early 2007 π
Forum: Fixing WordPress
In reply to: Upgrade caused loss of CategoriesOk this might help; I too had the same problem, but I distinctly remember forgetting to deactivate my plugins. I use: DiggIT, Excerpt Editor, ImageManager and Inline JavScript Plugin (which I cant get to work anyway).
On my server I upgraded from 2.2.3 to 2.3.2 and the result was no categories on the site or admin areas and no blogroll.
I then upgraded my local copy of the website, which actually went 2.2.1 to 2.3.2, This time I remembered to DEACTIVE my plugins!! and their are no issues at all.
So I can only conclude (from my own experience) that (unless the problem is between 2.2.1 and 2.2.3) it is due to not deactivating plugins.
Oh wait I just went from 2.3.2 to 2.2.3 and the categories have gone π ….
Reupgraded to 2.3.2 and all is fine again. I’m guessing its the plugins at fault.
Forum: Fixing WordPress
In reply to: Manage->Categories fatal error after 2.2.2 upgradeSame problem here, 2.2.3 to 2.3.2 upgrade now missing categories. I’ve tried both suggestions above but no luck. Could it be that 2.2.3 had category.php and 2.3.2 has categories.php so the calling script is looking for the wrong page?
Forum: Themes and Templates
In reply to: Spawning Child Page Links on Parent PageSurely there is some way to build a parent page of extracts from the childs?
If I were to manually produce the links, would the the link structure remain or change if the permalink syntax was modified? Or is there usable WP syntax to create dynamically updated page links?
Forum: Themes and Templates
In reply to: Spawning Child Page Links on Parent PageOk I appear to have all of that working. Khethridge, I added the code after the closing endif; just before my post div container ended.
Is it at all possible to work with the output, what I would like is and image, heading and summary for each child page.
This Piece of Hardware
[image] The X hardware is based on the blah blah and is really nice more..To be honest, looking at it, it’s going to be easier to manually create a list of child pages, style them up and link them using an absolute URL
Any better ideas, feel free to share π
Forum: Themes and Templates
In reply to: Spawning Child Page Links on Parent Pagehrmmm ok, so I guess then if there are no child pages then it wouldn’t appear. I was working on the principle that by adding that to a page.php would make it appear everywhere I didn’t want it too. I’ll give it a go π
Forum: Fixing WordPress
In reply to: News Archive ProblemThat appears to have fixed the problem perfectly, I think at some point I must have specified a custom URI structure and b0rked it, but all seems well now, thank you very much π
Forum: Fixing WordPress
In reply to: Partial Page LoadSorry I meant to say before, it is valid CSS and valid XHTML trans
Forum: Fixing WordPress
In reply to: Partial Page LoadI’m developing it locally at the moment. What appears to be happening is that the footer div is stopping short – half way through the core column, this then appears to be preventing the main columns background colour from displaying, EVERYTHING else is in place and styled perfectly. As I said, the problem is intermittent, which doesnt help trouble shooting :/
(thx for the quick reply)Forum: Installing WordPress
In reply to: Pages not foundβplease help!I too have just come across this problem. If what PTVGuy suggested doesnt work, check your .htaccess file, theres a section at the bottom of the permalinks page telling you what you should have in it for the wordpress mod. I tweaked that and mine works fine π
HTH