Equal
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: If I want to run my own php script for a certain page… How?Well basically you can put what you like on there. In the past I have used them for pages that have nothing in terms of content in them in the WordPress page but all of the functions comes from the template code.
For example you could have your normal page.php happening on the template and then under the call the_content put your PHP script.
Forum: Themes and Templates
In reply to: swf will not work on wordpress templateThe page is trying to load this:
http://mainebound.com/test_hrpi/flash/flash/header.swf
But failing
Where is that being pulled from the source?
Forum: Fixing WordPress
In reply to: Securing WordPressWe have managed to get WordPress and WordPress MU authenticating using LDAP with 1500 active directory accounts. The plugin we used was wpDirAuth but we had to use an older version of the plugin in order to get it to work.
Just a word of warning we are on Windows server 2008 with IIS7 so may not be exactly the same.
Forum: Themes and Templates
In reply to: wp_get_archives() question!Why not create a home.php template which will then be used as the home template for the site and then display the latest blog post with:
<?php $latestpost = new WP_Query("showposts=1"); while($latestpost->have_posts()) : $latestpost->the_post(); ?> //do stuff here <?php endwhile; ?>Forum: Fixing WordPress
In reply to: If I want to run my own php script for a certain page… How?Why not create WordPress page templates for the pages that you want to run seperate code in and then assign these page templates (which you can add your code to on the template) to the specific pages in WordPress.
Forum: Fixing WordPress
In reply to: Upgrading wordpressWith you having a old version such as that here is what I would do. First of all take a backup of your database:
http://codex.ww.wp.xz.cn/Backing_Up_Your_DatabaseThen make a copy of all your files. I would then do a local install of the files and import the database (find and replace all URLs before doing this) using PHPMyAdmin.
Now you have a complete copy of your site locally. Upgrade it to 2.8 and see what happens. If all is well you can do it on the live site. If it fails you can investigate further without messing around with the live site.
Forum: Fixing WordPress
In reply to: Cannot login to DashboardIt is in the root of your wordpress install.
Forum: Fixing WordPress
In reply to: How to SORT Post CategoriesIf they are listed in your sidebar then they will probably be listed using the wp_list_categories function: http://codex.ww.wp.xz.cn/Template_Tags/wp_list_categories
If so you will see that this function has an orderby parameter
Forum: Themes and Templates
In reply to: Theme HeadrWill need a little more details to help really.
If you mean images inside your posts then you can upload using the Add Media section of the write post panel.
If you mean change the look of your theme like replacing the header logo with your own, then check what the header logo image is called and replace it with your own. It will probably be in the themes images folder somewhere.
Also check out the appearance tab in the WordPress dashboard as many themes have there own custom header section where you can change these things. That is dependant on which theme you are using though.
Forum: Themes and Templates
In reply to: Space between textblocks – cannot remove it!?Try adding this to the bottom of your stylesheet to increase the gap between the projects:
#content .entry-content p { margin-bottom: 20px; }It is not the best way though, as you code is all inside a p tag for the projects which is not great.
Forum: Fixing WordPress
In reply to: Prevent hotlinking filesI am pretty sure that some hosting companies prevent hot linking to photos, but I am fairly certain that they would all have to be in the same folder.
Cpanel has a hotlink protection button but I have never used it I will confess.
Forum: Fixing WordPress
In reply to: How to embed .swf files in WordPressInstall the TinyMCE Advanced plugin (http://ww.wp.xz.cn/extend/plugins/tinymce-advanced/) this has an embed video button. Upload you swf, copy the link to the swf and click the insert video button.
Forum: Themes and Templates
In reply to: Display most recent post onlyTry this:
<?php $recentpost = new WP_Query("showposts=1"); while($recentpost->have_posts()) : $recentpost->the_post(); ?> // do stuff in here like display the content and title etc. <?php endwhile; ?>Forum: Fixing WordPress
In reply to: How to use Read More in PagesDrop the code here:
http://labitacora.net/comunBlog/limit-post.phps
into your functions.php file of your theme. Then in your themes page.php file or whatever file you want to use the more you can call:
<?php the_content_limit(400, "Continue Reading..."); ?>Instead of the
<?php the_content(); ?>Change the 400 to control the amount of the page that shows before it is cut off.
Forum: Fixing WordPress
In reply to: Automatic Upgrade Not workingCould not copy files says to me a permissions problem – perhaps on the wp-content folder.