Support » Fixing WordPress » Girl with some problems in WP :)

  • Can anyone please help me 🙂
    1. When I want to change name of my category, it create new category, and link for that category is not working anymore.
    2. In posts I have option to add image, and when I changing setup of that image (size, positon..) i have option to have url, but when I click (none) because I don’t want that photo have link it’s not working, it always have link 🙁
    3. how can I change 404.error page title?

    Thank you thank you 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • Christine Rondeau

    (@crondeau)

    Volunteer Forum Moderator

    Can you provide a link to your site please?

    1 – I’m not sure I see what you mean. Please provide more details

    2- are you inserting the image in a post or as a featured image.

    3 – check the 404.php in your theme files.

    Hi, my site is not able to see now.
    1. On the site I have box where goes title of category, for example one category is called IN & OUT but now there is IN-AND-OUT because this is the name of category, and when I go in dashboard, edit category title, it just create title with the name I want, I can’t change this name.
    2. i fix this 🙂
    3. I have this code in 404.php
    <head>
    <meta charset=”<?php bloginfo( ‘charset’ ); ?>”>
    <meta http-equiv=”X-UA-Compatible” content=”IE=edge,chrome=1″>

    <title><?php
    //Print the <title> tag based on what is being viewed.
    global $page, $paged, $theme_data;

    wp_title( ‘|’, true, ‘right’ );

    // Add the blog name.
    bloginfo( ‘name’ );

    // Add the blog description for the home/front page.
    $site_description = get_bloginfo( ‘description’, ‘display’ );
    if ( $site_description && ( is_home() || is_front_page() ) )
    echo ” | $site_description”;

    // Add a page number if necessary:
    if ( $paged >= 2 || $page >= 2 )
    echo ‘ | ‘ . sprintf( __( ‘Page %s’, ‘thg’ ), max( $paged, $page ) );

    ?></title>

    maybe I need change somwhere in this code?

    Christine Rondeau

    (@crondeau)

    Volunteer Forum Moderator

    IN & OUT but now there is IN-AND-OUT

    You can’t have IN-&-OUT

    Only ascii characters are allowed and your slugs need hyphens.

    The code of your 404.php doen’t look right. That looks like the header.php.

    This is all code, I’ve copied it from 404.php
    <!doctype html>
    <!–[if lt IE 7]> <html class=”no-js lt-ie9 lt-ie8 lt-ie7″ <?php language_attributes(); ?>> <![endif]–>
    <!–[if IE 7]> <html class=”no-js lt-ie9 lt-ie8″ <?php language_attributes(); ?>> <![endif]–>
    <!–[if IE 8]> <html class=”no-js lt-ie9″ <?php language_attributes(); ?>> <![endif]–>
    <!–[if gt IE 8]><!–> <html class=”no-js” <?php language_attributes(); ?>> <!–<![endif]–>
    <?php global $theme_data; $theme_data = get_option(OPTIONS); ?>

    <head>
    <meta charset=”<?php bloginfo( ‘charset’ ); ?>”>
    <meta http-equiv=”X-UA-Compatible” content=”IE=edge,chrome=1″>

    <title><?php
    //Print the <title> tag based on what is being viewed.
    global $page, $paged, $theme_data;

    wp_title( ‘|’, true, ‘right’ );

    // Add the blog name.
    bloginfo( ‘name’ );

    // Add the blog description for the home/front page.
    $site_description = get_bloginfo( ‘description’, ‘display’ );
    if ( $site_description && ( is_home() || is_front_page() ) )
    echo ” | $site_description”;

    // Add a page number if necessary:
    if ( $paged >= 2 || $page >= 2 )
    echo ‘ | ‘ . sprintf( __( ‘Page %s’, ‘thg’ ), max( $paged, $page ) );

    ?></title>
    <meta name=”description” content=”<?php echo $site_description; ?>”>

    <!– Mobile viewport optimized: h5bp.com/viewport –>
    <meta name=”viewport” content=”width=device-width”>

    <!– Place favicon.ico and apple-touch-icon.png in the root directory: mathiasbynens.be/notes/touch-icons –>
    <link rel=”profile” href=”http://gmpg.org/xfn/11″ />
    <link rel=”stylesheet” type=”text/css” media=”all” href=”<?php bloginfo( ‘stylesheet_url’ ); ?>” />
    <link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>” />

    <!– All JavaScript at the bottom, except this Modernizr build.
    Modernizr enables HTML5 elements & feature detects for optimal performance.
    Create your own custom Modernizr build: http://www.modernizr.com/download/ –>
    <script src=”<?php echo get_template_directory_uri(); ?>/js/libs/modernizr-2.5.3.min.js”></script>
    <style>

    body,html {width: 100%; padding: 0; margin: 0; min-width: 1200px; background: #dbdbdb; height: 100%;}
    .errorimage {max-width: 1920px; min-width: 1920px; width: 100%; margin: 0 auto !important; text-align: center; display: block;}

    </style>
    <?php wp_head(); ?>
    </head>
    <body <?php body_class(); ?>>

    <img src=”<?php echo get_template_directory_uri(); ?>/images/404error.jpg” alt=”” title=”” class=”errorimage” usemap =”#notfound”>
    <map name=”notfound”>
    <area shape=”rect” coords=”1152,195,1452,414″ href=”<?php echo get_settings(‘home’); ?>” alt=”<?php _e(‘Return to Home’,’thg’); ?>” style=”background: red;” />
    </map>
    <?php wp_footer(); ?>
    <!– Grab Google CDN’s jQuery, with a protocol relative URL; fall back to local if offline –>

    <!– Asynchronous Google Analytics snippet. Change UA-XXXXX-X to be your site’s ID.
    mathiasbynens.be/notes/async-analytics-snippet –>
    <script>
    var _gaq=[[‘_setAccount’,’UA-XXXXX-X’],[‘_trackPageview’]];
    (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
    g.src=(‘https:’==location.protocol?’//ssl’:’//www’)+’.google-analytics.com/ga.js’;
    s.parentNode.insertBefore(g,s)}(document,’script’));
    </script>
    </body>
    </html>

    Christine Rondeau

    (@crondeau)

    Volunteer Forum Moderator

    So if you want to change the page title you could just hard code what you want in between the <title> </title> tags.

    So change this to:

    <title><?php
    //Print the <title> tag based on what is being viewed.
    global $page, $paged, $theme_data;
    
    wp_title( '|', true, 'right' );
    
    // Add the blog name.
    bloginfo( 'name' );
    
    // Add the blog description for the home/front page.
    $site_description = get_bloginfo( 'description', 'display' );
    if ( $site_description && ( is_home() || is_front_page() ) )
    echo " | $site_description";
    
    // Add a page number if necessary:
    if ( $paged >= 2 || $page >= 2 )
    echo ' | ' . sprintf( __( 'Page %s', 'thg' ), max( $paged, $page ) );
    
    ?></title>

    <title> Whatever </title>

    If you mean the content, I don’t see a h1 or h2, so you could get rid of the image and just insert your text – So get rid of this:

    <img src="<?php echo get_template_directory_uri(); ?>/images/404error.jpg" alt="" title="" class="errorimage" usemap ="#notfound">
    <map name="notfound">
    <area shape="rect" coords="1152,195,1452,414" href="<?php echo get_settings('home'); ?>" alt="<?php _e('Return to Home','thg'); ?>" style="background: red;" />
    </map>

    Hi, thanx for your reply, I’m new here so I realy don’t understand how to do this,

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Girl with some problems in WP :)’ is closed to new replies.