uwiuw
Forum Replies Created
-
yes, i personally looking for the source code. Is there something happen ?
Forum: Installing WordPress
In reply to: Error establishing a database connectioncheck wp-config.php in your wordpress installation. There will be line such as :
define('DB_NAME', '???'); /** MySQL database username */ define('DB_USER', '???'); /** MySQL database password */ define('DB_PASSWORD', '???'); /** MySQL hostname */ define('DB_HOST', 'localhost');
cek whether you put the correct username and password
Forum: Fixing WordPress
In reply to: get_permalink returning odd resultsi don’t know why it should be happening. But there are many ways to fix it easily.
in your theme, you can use this in head (usually named ‘header.php’ in theme)
<base href="https://domain.name" />
Forum: Plugins
In reply to: Which hook/action/filter show User ID of current useri have done some code in ‘set_current_user’ and it work
Forum: Plugins
In reply to: new $wpdb to access other database ?MichaelH, your’re brilyan ;D
it’s the same for themes. What you need it to put you custom code in function.php. This theme file work as if it’s a plugin.
Forum: Fixing WordPress
In reply to: Hiding “Previous Entry” posts from top of a post pagemaybe you can try to find the ‘Previous Entry’ in your theme code. in theory any code use this is part of the reason why its show.
or if you find any, then submit here any code near it. i will tell you where and what to erase.
can you give the blog url ?
may be this will hep Adding_Administration_Menus
Forum: Installing WordPress
In reply to: can’t find the loginForum: Fixing WordPress
In reply to: All Pictures missing on bloghei, i now can see your image. it’s working ;D. I don’t know why, but it’s seem you have permission issue.
Forum: Fixing WordPress
In reply to: Getting the relative permalink of a pagebrilliant, hei, i got a new trick ??
Forum: Themes and Templates
In reply to: Displaying excerpt/summary only, AND a “read more” buttonsorry, it seem my code have been eaten. and make as if it a link. Put it anywhere in function.php
This is the right one :
function the_excerpt_more($text) { $myurl = get_permalink(); $text = str_replace('[...]' , '<a href=" ' . $myurl . ' "> ' . ' Read More </a>', $text); return $text; } add_filter('the_excerpt', 'the_excerpt_more');
Forum: Fixing WordPress
In reply to: How do I display only a few lines of a post??? hell no, i think i give the wrong advice….
Forum: Fixing WordPress
In reply to: How do I display only a few lines of a post?i believe this will help
function the_excerpt_more($text) {
$url = get_permalink();
$text = str_replace(“[…]”, “Read More“, $text);
return $text;
}
add_filter(‘the_excerpt’, ‘the_excerpt_more’);Forum: Themes and Templates
In reply to: Displaying excerpt/summary only, AND a “read more” buttonmaybe this will help
function the_excerpt_more($text) {
$url = get_permalink();
$text = str_replace(“[…]”, “Read More“, $text);
return $text;
}
add_filter(‘the_excerpt’, ‘the_excerpt_more’);put it in your function.php