• Hello
    I’m trying to add a code through WordPress HTML editing page
    and this what happens to the website page Click Here
    the website should look like this Click Here to visit

    ********************************
    this is the code i’m copying

    [large amount of code moderated – please use the pastebin – http://codex.wordpress.org/Forum_Welcome#Posting_Code ]

    ***********************************************
    I read that i need to put the first section or until </head>
    into the header.php file. and re-upload the file to my website.

    i found only wp-blog-header.php file that includes the word header.

    this is what i have in the wp-blog-header.php file…

    ************************

    <?php
    /**
     * Loads the WordPress environment and template.
     *
     * @package WordPress
     */
    
    if ( !isset($wp_did_header) ) {
    
    	$wp_did_header = true;
    
    	require_once( dirname(__FILE__) . '/wp-load.php' );
    
    	wp();
    
    	require_once( ABSPATH . WPINC . '/template-loader.php' );
    
    }

    [please mark any posted code – see http://codex.wordpress.org/Forum_Welcome#Posting_Code ]

    *************************
    Please help me what i’m doing wrong.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Wow you are doing pretty much everything wrong. Go read the documentation on creating themes and template files.

    Karun

    (@karunshakya45)

    You have to learn about developing themes. The following links will help you

    Create WordPress theme from scratch part 1

    Create WordPress theme from scratch part 2

    Thread Starter HaniTips

    (@hanitips)

    i read the articles . i still can’t find the header.php file i’m supposed to edit. i can’t find the header.php the is installed “NOW” to wordpress.

    i found 2 other header.php files in the theme directory. i can get to these files through my Cpanel account.
    the 2 header files i found is for two uninstalled themes.

    for some reason i cant get to the theme installed files, and i don’t find them from the Cpanel.

    where do i find the header.php i’m suposed to edit? the one installed in wordpress?

    Link=>=>

    http://www.netting-profitable-writing-system.com/

    Try looking in wp-content/themes/your_theme_folder.

    Thread Starter HaniTips

    (@hanitips)

    Go read the documentation on creating themes and template files.


    I used Kompozer for a while. and i just finished downloading Adobe Dreamweaver. i used it a while ago.

    ********************************

    the code i’m trying to paste generated from scrubtheweb.com
    and this all i get from them is to paste the code in the HTML editor.

    this is the page i’m trying to add meta tags, meta keywords, and the rest.in.
    http://www.netting-profitable-writing-system.com/

    *******************
    Where and how to add the metas that i need for search engines?

    Thread Starter HaniTips

    (@hanitips)

    Try looking in wp-content/themes/your_theme_folder.

    I did. i did not find the installed theme in the theme directory. i found two extra themes if i want to change the original.
    I want to edit the one installed. Not others.

    this is the page i want to add meta tags in.

    http://www.netting-profitable-writing-system.com/

    What theme is active according to Appearance -> Themes?

    Thread Starter HaniTips

    (@hanitips)

    The Theme installed is the. memberspring theme v 1.0

    *****************************
    i found the installed header in. Appearense-> Editor.
    the one i’m supposed to edit and add the meta tags to it.

    i found it at the right side of the editor i have a long list of what installed in my website.

    in this list i found the installed Theme Header.
    and i got the correct code “I Think” from WordPress Support

    This is the code i add to the header but i still can’t see the changes i made in the view source page.
    and search engines saying i still don’t have “meta description” and “meta Keywords”

    The Code…

    <meta name="resource-type" content="document" />
    <meta http-equiv="content-type" content="text/html; charset=US-ASCII" />
    <meta http-equiv="content-language" content="en-us" />
    <meta name="author" content="Hani Salameh" />
    <meta name="contact" content="hanisalamehtips@gmail.com" />
    <meta name="copyright" content="Copyright (c)2010 -2012
    Hani Salameh. All Rights Reserved." />
    <meta name="description" content="The Profitable Writing System free ecourse – your guide to using simple articles to pull in all the free traffic ... ll discover 7 quick and easy ways to get your content ..." />
    <meta name="keywords" content="article, free, traffic, discover, simple, profitable, writing, system, netting, article, free 7 day ecourse, articles, money" />

    I added this code after the this line. as WordPress Support Suggested

    <title><?php bloginfo('name'); ?><?php wp_title(); ?></title>

    I’m sorry but as you are using a commercial theme/plugin, you need to seek support from the theme’s vendors.

    Thread Starter HaniTips

    (@hanitips)

    I will if i will not solve to the end of the day

    i’m looking to enter this section in wordpress.
    but i cant find it.
    where is this :->-> Admin > Options > General panel.

    can you help me with this?

    There is no Options menu in WordPress itself.

    Thread Starter HaniTips

    (@hanitips)

    Thank you

    Thread Starter HaniTips

    (@hanitips)

    You have to learn about developing themes. The following links will help you

    Create WordPress theme from scratch part 1

    Create WordPress theme from scratch part 2

    Hello.
    still haven’t solve the problem.
    ………………………………
    this is from the link you provided.

    i can’t find this. how do i enter the section or what ever he is talking about

    This is the manual style of adding a description, but WordPress can make this easier for you. Add your description, similar to above, in your Admin > Options > General panel. The description is entered in the line designated as Tagline. Then paste in the following in your head area.
    
    <meta name="description" content="<?php bloginfo('description'); ?>" />
    WordPress will automatically generate the description. Note: Some Themes use this tag in the header just below the title of the blog or site. If you don't want it there, remove or comment out the tag in the header area.

    Help please…

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘how to add to wordpress header.php’ is closed to new replies.