Forum Replies Created

Viewing 15 replies - 46 through 60 (of 62 total)
  • OK, solved. There was an external includes file that was define the variable TEMPLATE, so that is what was going on and where the missing files were.


    I actually know how the TEMPLATEPATH worjs as U use it all the time, it’s the first one I am wondering about, just the plain TEMPLATE. When I echo that it just outputs the word ‘TEMPLATE” so I am wondering if it was either incorrectly entered by the original programmer or is a deprecated command.

    I don’t think there are. Once you start working with the PHP you’ll realize how easy it it.

    Forum: Plugins
    In reply to: Photo slider plug in

    Instead of looking for a plugin, take a look into JQuery scripts which are, confusingly enough, called plugins. Just do a search for “JQuery slideshow” and you’ll find tons of options. Then, all you do is link to the script(s) in your header.php file:

    <script type="text/javascript" src="js/jquery.js"></script>

    You’ll then have to include the function in the index file where you want to show the slideshow but it’s generally pretty easy. Most of the Jquery stuff just looks for

  • calls and turns those images into the slideshow.
  • I have some sites I can point you to if you’re having trouble.

There are a couple ways to do this without plugins. The easiest is just make a separate category page. Let’s say you want to have category 6 have it’s own page. All you have to do is duplicate the file archive.php and rename it to category-.php. Then you can do whatever you want to that page. Otherwise, you’re are going to need to do some coding on the page if you want to do something with a page vs. a category. The easiest way to do that is to make a template and then apply that template to the page.

If you want the loop to only show a specific category, just add this to your query_posts:

<?php query_posts('cat=5&showposts=1'); ?>

Hope that helps.

Thanks. What I’ve ended up doing is just duplicating the site, exporting the database san wp_options with DROP and CREATE seletced suing myPhpAdmin, then importing the database to the new site after setting up the plugins and themes. This duplicates the site but isn’t running the site off of one database. I’ll settle for that for now.

Thanks. I actually find a great way to do it. Using myPhpAdmin I export all tables except wp_options. I also check the ‘Add DROP TABLE’ and ‘Add CREATE PROCEDURE / FUNCTION / EVENT’ boxes under Structure. I run copy the site, delete the wp_config.php file and proceed to install the site. I log in, activate the correct theme and all the relevant plugins. Then, I log in using myPhpAdmin, import the database I exported. This will log my out of the WP site as I’ve also overwritten the wp_users table, but I can log back in using my original user name. Everything should work fine.

The trick is to not export the wp-options table.

My biggest problem I’ve had in the past with doing a simple WP Export and Import is that the mapping of ID codes doesn’t always work quite right and my themes depend of specific ID’s for some posts and categories.

You don’t actually “load” JQuery stuff the way you’d load a traditional plugin, instead you’ll need to point to the file. The easiest way is to insert the code into your header.php file or any other .php page or template you’ll be loading. Here’s an example.

<script type=”text/javascript” src=”js/jquery.js”></script>

This points to the directory ‘js’ in the root of the WordPress installation, not of your theme.

Hope that helps.

OK, I found a couple things. There is TinyMCE Excerpt plugin at:

and a little tutorial on changing the wp_admin.css to increase the Excerpt height:

I had some extra white space between PHP stuff in functions.php which I’ve now stripped out and don’t know of that was contributing to the problem.

Thanks. I couldn’t get that to work, but stripped out some other code and it worked fine. I’m not sure why but it did. Weird. Thanks!

I’m also looking for a solution for this. Did anyone find one? Thanks!

Well what do you know…. Thanks, that’s the issue.

OK, figured it out. It’s simply adding a &showpost=1.

Cool. I was thinking I might have to do that. If I don’t post again, it means I got it working. Thanks!

Viewing 15 replies - 46 through 60 (of 62 total)