I would like to replace the Inline Upload in Post.php (which is inside an iframe), and to display there the filosofo-old-style-upload plugin.
Does anyone have an idea on how to change the iframe source, but with a plugin and not through the system files???
If so, does anyone have an idea of how to call a function inside that iframe?
]]> <?php /* If this is the frontpage */ if ( is_home() ) { ?>
<?php
if(get_links(-1,”, ”,”, false, ‘name’,false,false,-1, false, false)){
?>
<?php query_posts('category_name=News'); //where main is the name of the category that you want to show.
?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<small>Posted <?php the_date('','',''); ?> at <?php the_time() ?>.</small>
<div class="entry">
<?php the_content('Read the rest of this entry »'); ?>
<small><?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></small><br /><br />
</div>
</div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('« Previous Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Next Entries »') ?></div>
</div>
<?php else : ?>
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
<?php endif; ?>
The page is “home.php,” designated as my site’s home page through the use of the Filosofo Home Page Control Plugin.
Pre-2.1, this would display the latest posts from my News category. Now, it reverts to the “Not Found” message.
Anyone know what might have changed in 2.1 to cause this, and how I can fix it?
Many thanks!
]]>‘#BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/+
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule
#END’
This seemed to screw things up even more (couldn’t access blog or WP account, so I deleted the content using cPanel and tried again to get WP to create a new one, with the same result. I can go to my blog, but cannot access any pages or categories, nor can I view the site or pages through the WP dashboard.. Links work. But for everything else I get a 404 error message.. I’ve tried deleting htaccess, recreating a new empty one and re-updating permalinks, etc…but still get 404. I have tried changing the htaccess attributes to everything from 664 to 777. FYI:My server is a small orange: Operating system Linux Service Status Click to View Kernel version 2.6.9-42.0.3.ELsmp Machine Type x86_64 Apache version 1.3.37 (Unix) PERL version 5.8.7 Path to PERL /usr/bin/perl Path to sendmail /usr/sbin/sendmail Installed Perl Modules Click to View PHP version 4.4.4 MySQL version 5.0.27-standard cPanel Build 10.9.0-RELEASE 94 Theme cPanel X v2.6.0 Documentation Click to View cPanel Pro 1.0 (RC36)
Any suggestions? Your help would be deeply appreciated.
Thanks.
]]>My blog is at: https://andymelton.net/blog
Thanks in advance. If there is anything else you need to see to diagnose the problem please let me know. Thanks!
]]>After reading “Building Communities with Drupal, phpBB and WordPress” (the only book I could find on WordPress) I’ve been playing around with the Filosofo Home-page control plug in and I’d like to use it in the following way.
I have a home page set via the <home page plug-in> with a paragraph of text. Along with the text I’d like to display one post from each of the blogs categories on the front page. The posts would be abbreviated using the <more> tag so only about 20 words or so would be on the front page.
I was thinking that if I set up my categories like this
? <Home>
? <Dogs>
? <Cats>
? <Fish>
Then, when writing the post, one would select the main category (either Dogs, Cats or Fish) but you could also select if you want that particular post to appear on the home page by also selecting the <Home> category along with the main category. It seems like a nice and easy way of having a flexible, simple CMS.
I imagine that you would just need a call that displays the <home> category’s posts within a <div></div> tag.
How would one do this?
thanks
]]><!--more-->
tags… Has anyone else expereinced this problem?
Is there a fix for this?
]]>