Forum Replies Created

Viewing 15 replies - 286 through 300 (of 1,218 total)
  • Hmmm sounds like php is not installed/running on the server.

    Yeah I’ve done it many times as that’s where all of my dev blogs are. What are you using? Xampp? Wamp? You may have to adjust the php.ini file.

    Forum: Plugins
    In reply to: Changing my theme

    When you log in to your site via ftp you’ll see various WP files in addition to 3 WP folders –> wp-admin, wp-content and wp-includes

    The themes are stored in wp-content/themes

    Forum: Plugins
    In reply to: Use sidebar vs. add widget

    @lenk WordPress.org is short for the self hosted WordPress Software and is a common term in the WordPress community. … so people who use this term are not referring to downloading the pages on http://wordpress.org, which would be closer to 15,000,000 rather than 1,000.

    Uh, yeah I got that hence the 🙂

    My attempt at a little humour which sometimes helps when people are frustrated. But thanks anyway. 🙂

    It looks like you borked the wp-config file when you edited it. Just upload a fresh copy and be careful when editing this time. Of course it goes without saying make note of the info you inserted in the old one – you’ll need it.

    Learning how to do something is half the fun. 🙂

    Forum: Fixing WordPress
    In reply to: spam on comments

    Log in to phpMyAdmin and run this query …

    DELETE from wp_comments WHERE comment_approved = '0';

    You may want to backup your database prior to doing this.

    I don’t know anything about the international versions of WordPress so if I’m wrong maybe someone can correct me. If your theme is not localized, meaning it didn’t come with a .po file, then you’ll have to go into your theme files and change it manually.

    WordPress.COM is a host that hosts WordPress-powered blogs.

    WordPress.ORG is the place where you download the WP software and host it yourself. (or pay a webhosting company if you don’t have your own server)

    Forum: Installing WordPress
    In reply to: Why upgrade

    You might also want to subscribe to the official WordPress Blog. It usually (always?) lists the changesets.

    From a security perspective, if you’re worried about people seeing what plugins you’re using you should know that the vast majority of hacks are carried out by automated scripts (bots) that scan the web looking for vulnerabilities – not by someone physically going to your site and viewing source to see what you’re running.

    There’s a few ways to go about this.

    1. Learn to customize the Read More
    2. Use the_excerpt() rather than the_content()
    3. Use a plugin

    Personally I use option #2. For reference here is how. Open whatever template file is used to display your home page – it will be either home.php or index.php and replace the the_content() with the_excerpt(). By default, WordPress will pull the first 55 characters from your post when using the_excerpt(). If you want to adjust that then insert the following into your theme’s functions.php file …

    remove_filter('get_the_excerpt', 'wp_trim_excerpt');
    add_filter('get_the_excerpt', 'custom_trim_excerpt');
    
    function custom_trim_excerpt($text) { // Fakes an excerpt if needed
    global $post;
    if ( '' == $text ) {
    $text = get_the_content('');
    $text = apply_filters('the_content', $text);
    $text = str_replace(']]>', ']]>', $text);
    $text = strip_tags($text);
    $excerpt_length = x;
    $words = explode(' ', $text, $excerpt_length + 1);
    if (count($words) > $excerpt_length) {
    array_pop($words);
    array_push($words, '...');
    $text = implode(' ', $words);
    }
    }
    return $text;
    }

    Adjust the line $excerpt_length = x; to whatever you want. OR …. when using the_excerpt() you can also include your own hand crafted summaries. Beneath the “write post” window you will see a box that says “Excerpt”. You can insert whatever you want in there and that will be displayed on the home page. Here is a screen shot.

    More reading:
    – Customizing the Read More
    the_content()
    the_excerpt()

    i am using hosted on wordpress.org

    wordpress.ORG doesn’t provide hosting. It provides free software you can download and host elsewhere. But I know what you mean. 😉

    Once you get your ad code from Google edit your theme’s sidebar. If you want more specific instructions you’ll have to provide a link to the theme you’re using. You could also search the Plugin Directory for a plugin to do this automatically for you.

    Now off you go to make your millions.

    If it’s a blog hosted at wordpress.COM head over there. If it’s a self-hosted WP blog there is nothing anyone here can do about it. Try contacting the author directly. Or the host.

    That doesn’t look like a comment – it looks like a pingback which is normally fine. However in this case, the site from which the pingback originated looks like a scraper, a site that automatically scrapes the content of others and publishes it. Were it me I’d mark it as spam.

Viewing 15 replies - 286 through 300 (of 1,218 total)