How to change phpld title seperator
May 11th, 2008 — adminWant to change the seperator between categories in the title tag?
At the moment the phpld generate the title as:
home - category - category - category
Read the rest of this entry »
Want to change the seperator between categories in the title tag?
At the moment the phpld generate the title as:
home - category - category - category
Read the rest of this entry »
<?php
//get the current page URL that is shown in the browser URL window
function curPageURL() {
$pageURL = ‘http’;
if ($_SERVER[”HTTPS”] == “on”) {$pageURL .= “s”;}
$pageURL .= “://”;
if ($_SERVER[”SERVER_PORT”] != “80″) {
$pageURL .= $_SERVER[”SERVER_NAME”].”:”.$_SERVER[”SERVER_PORT”].$_SERVER[”REQUEST_URI”]; Read the rest of this entry »
Just add the following code at any place you need to let the tag show:
if ( function_exists(’wp_tag_cloud’) ) :
Open init.php, between
$db->SetFetchMode(ADODB_FETCH_ASSOC);
read_config($db);
add MySQL_query(”SET NAMES ‘latin1′”);
let them becomes: Read the rest of this entry »
The problem: we have an array of items in PHP and we want to find out if a specific item is in the array. In code we can define the array as:
Read the rest of this entry »
It is very simple,just like this:
{php}
echo “PHP
“;
echo “I love PHP
“;
echo “included in .tpl
“;
{/php}
Find the Current URL with PHP Read the rest of this entry »
Q:Me and a friend are trying to make http://kingphp.com and www.chinascience.org the same… I hosted his domain on my hosting as an add-on domain. Read the rest of this entry »
This plugin performs the following tasks:
Delete all posts and/or comments in selected category
Move all posts from one category to another
Plugin was developed for may needs so its functionality is quite limited right now. However i plan to add more and more features to Mass Post Manager Read the rest of this entry »
If you’re looking for a simple static solution (an not an entire ad manager) use this
add in your init.php after the $tpl = get_tpl(… line Read the rest of this entry »