kentfallman
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: incorporating posts/pages into an html websiteyou can really easy show wordpress stuff on any other php page!
Forum: Fixing WordPress
In reply to: incorporating posts/pages into an html websiteYou cant include stuff into .html pages, it have to be .php
You can can make a static wordpress page and show them and/or make your own function to pull the data from the database into your page.php
Forum: Fixing WordPress
In reply to: splash page?You can add som code that will display a splash page in the beginning of index.php in the root.
Set a cookie if the visitor enters the site and it will not be displayed anymore.
Try this just after the beginning < ? php
if (!isset($_COOKIE[‘disclaimer’]))
{
include(“/path/to/my/page.php”);
exit;
}let me know if you want further help..
Forum: Fixing WordPress
In reply to: PHP Stylesheet Switcher from A List Apart Not Working with WordPressThe page is old, from 2002. Bad code..
Example usage:
Sidebar
′
<form action=”switcher.php” method=”post”>
<select name=”set”>
<option value=”1c-b”> ? 1c-b</option>
<option value=”2c-l” selected=”selected”> ? 2c-l</option>
<option value=”2c-r”> ? 2c-r</option>
<option value=”3c-b”> ? 3c-b</option>
<option value=”3c-l”> ? 3c-l</option>
<option value=”3c-r”> ? 3c-r</option>
</select>
<input type=”submit” value=”Change Style”>
</form>′
Switcher.php
′
if (isset($_POST[‘set’]))
{
setcookie (‘style’, $_POST[‘set’], time()+31536000, ‘/’, ‘domain.org’, ‘0’);
header(“location: ” . $_SERVER[‘HTTP_REFERER’]);
}
′header.php
′
<link rel=”stylesheet” type=”text/css” media=”screen” title=”Sandbox layouts” href=”/wp-content/themes/sandbox/css/<?php echo (!$_COOKIE[‘style’])?’2c-l’:$_COOKIE[‘style’] ?>.css” />
<link rel=”stylesheet” type=”text/css” media=”screen” title=”Base Style” href=”/wp-content/themes/sandbox/style.css” />
′Forum: Plugins
In reply to: SyntaxHighlighter Plus released with bug fixes :)Where is the file to download ? Your website is a spooktown..
Forum: Plugins
In reply to: Changing wp-login.php filename and wp-admin directoryChange all places where wp-login.php is to ex. myfrigginloginpage.php.
do it in following files..
wp-login.php
wp-admin/admin-header.php
wp-includes/general-template.php
wp-includes/pluggable.phpvoila! your ready to rock..