WordPress.org

Ready to get started?Download WordPress

Forums

What I have done (13 posts)

  1. dhin
    Member
    Posted 5 years ago #

    I can not login anymore :(
    I change on the settings the url blog from http://dhini.nl/Dhini-nl/wp/ to http://dhini.nl/

    What I must do now? Please help me

  2. figaro
    Member
    Posted 5 years ago #

  3. dhin
    Member
    Posted 5 years ago #

    Where I can find funtions.php?

  4. mrmist
    Forum Janitor
    Posted 5 years ago #

    it's in wp-content/themes/your-theme-name-here/

  5. figaro
    Member
    Posted 5 years ago #

    Look in your active theme's directory.

  6. dhin
    Member
    Posted 5 years ago #

    I dont see on theme`s directory - functions.php update_option('siteurl','http://example.com/blog');

    I see only this in functions.php `<?php if ( function_exists('register_sidebar') ) {register_sidebar();register_sidebar();}
    // Custom Header Image Support

    define('HEADER_TEXTCOLOR', '');
    define('HEADER_IMAGE', '%s/img/header.jpg'); // %s is theme dir uri
    define('HEADER_IMAGE_WIDTH', 900);
    define('HEADER_IMAGE_HEIGHT', 180);
    define( 'NO_HEADER_TEXT', true );

    function theme_admin_header_style() {
    ?>
    <style type="text/css">
    #headimg {
    background:#fff url(<?php header_image() ?>) no-repeat center;
    height: <?php echo HEADER_IMAGE_HEIGHT; ?>px;
    width: <?php echo HEADER_IMAGE_WIDTH; ?>px;
    }
    #headimg * {
    display:none;
    }
    </style>
    <?php
    }
    function theme_header_style() {
    ?>
    <style type="text/css">
    #headimage
    {
    /*background:url(<?php header_image(); ?>) no-repeat center;*/
    height:<?php echo HEADER_IMAGE_HEIGHT; ?>px;
    width:<?php echo HEADER_IMAGE_WIDTH; ?>px;
    }
    </style>
    <?php
    }
    if ( function_exists('add_custom_image_header') ) {
    add_custom_image_header('theme_header_style', 'theme_admin_header_style');
    }
    ?>`

  7. If there isn't one in your active theme, you can make one.

  8. Samuel B
    moderator
    Posted 5 years ago #

    Add these two lines to the file, immediately after the initial "<?php" line.
    
    update_option('siteurl','http://example.com/blog');
    update_option('home','http://example.com/blog');
    
    Use your own URL instead of example.com, obviously.

    or use one of the other options to change your site url?

  9. Thomas
    Member
    Posted 5 years ago #

    If you can access the database you can always do an update to the corresponding row in the options table.

  10. dhin
    Member
    Posted 5 years ago #

    To late. I have delete all my blog from fanupdate and also delete all the wordpress cos I would like to uplaod again

  11. Samuel B
    moderator
    Posted 5 years ago #

    people sure go about things the hard way

  12. dhin
    Member
    Posted 5 years ago #

    I think this is the best way

  13. mrmist
    Forum Janitor
    Posted 5 years ago #

    Of course you must do it whatever way works for you really.

    Hopefully that will work for you.

Topic Closed

This topic has been closed to new replies.

About this Topic