1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to manually add home page text to movie wordpress theme

Discussion in 'Black Hat SEO' started by ueki94, Oct 27, 2012.

  1. ueki94

    ueki94 Regular Member

    Joined:
    Aug 1, 2011
    Messages:
    261
    Likes Received:
    42
    I have downloaded a wp theme designed for movies, it features all movies in thumbnails and it is overall really cool, problem is I dont see an option to write on the home page and I guess not having enough keyword density on the home page is bad for seo. Can anyone tell me how to manually edit my html code and add a small text to my home page?
     
  2. WPRipper

    WPRipper Supreme Member

    Joined:
    Mar 24, 2010
    Messages:
    1,376
    Likes Received:
    1,493
    Location:
    Proudly romanian
    Depending on ur theme check for index.php or page.php . It's kinds tricky if you don't know how to code.
     
    • Thanks Thanks x 1
  3. ueki94

    ueki94 Regular Member

    Joined:
    Aug 1, 2011
    Messages:
    261
    Likes Received:
    42
    Im down to learn how to change it. I'm in college for computer engeneering so I'm not completely new to coding at least, and it will be helpful to learn as I will be learning html in future.
     
  4. srb888

    srb888 Elite Member

    Joined:
    Jul 30, 2008
    Messages:
    3,260
    Likes Received:
    5,067
    Gender:
    Male
    Occupation:
    WebzSurfer
    Location:
    Sun, Mon, Tue, WTF, Sat!!! :)
    1. If you are editing existing code and you don't have the custom options page for it:
    If you want to edit an existing text and there is no specially created custom options page in the admin area, then find the text in the database of that site. For this you may need to use the database/phpMyadmin section on the hosting (or the xampp if trying locally).

    It can be found in the wp-options table inside that database; but be aware there can be any other special table created by the theme maker for such texts. Also try finding only the text, and not the included special formats such as <b> or <p> etc...

    --------------

    2. If you wish to add some text which isn't going to change much in future:
    For this, and for your level, use the Firebug plugin on Firefox/Chrome browser. Then inspect the element where you wish to add the new text... for example if adding in the header area, click/select on the header, anywhere or in a particular spot inside the header area of the page. You will see the code getting highlighted for that area. For example: <div class="logo">

    Usually a skilled programmer would immediate know where the code could be located or he can easily find out the correct place: database, a specific file, the functions file, a plugin file, whatever... but for you, I suggest using the xyplorer application or any similar app which can search the text in the folder and its subfolders.

    The above example text was found in the header.php file. Open that file, and within the <div class="logo>...</div> you will have to insert the new text judiciously. That is, you will not just enter the text but will also take care of the <div>, its elements like style/id/class/etc., link formatting if any, or any of those zillions of elements that would be required by you... its formatting chiefly uses the style.css but again, the template maker could have used any name for the css file -- either adding or modifying the related code in the css / js / any other file. These css specific codes too can be found using the Firebug addon application.

    There are many other factors to be checked while doing this seemingly easy job, and then test thoroughly. Better to use a copy of the existing site in localhost (e.g., xampp), and test entirely using that copy of the site. anything breaks, you may have to restore the entire site and the database again. So try it on localhost and then use Google / Youtube at various stages to get more help.

    --------------

    3. If it still looks hard, keep trying so that one day you can do such tasks easily. Or get expert help, either from the template/theme creator if you have purchased it, or if it was given away as free. Or get an expert to work on it.

    HTH :)
     
    • Thanks Thanks x 1
    Last edited: Oct 27, 2012
  5. ueki94

    ueki94 Regular Member

    Joined:
    Aug 1, 2011
    Messages:
    261
    Likes Received:
    42
    Nice answer, really really helpful. I got everything you said, if there was an existing text already it would be really easy, the thing is there is no text so I have to format style.ccs like you said, there is where problem comes in ahah. Will try to find a tutorial or something which can help me out. Thank you a lot!
     
  6. srb888

    srb888 Elite Member

    Joined:
    Jul 30, 2008
    Messages:
    3,260
    Likes Received:
    5,067
    Gender:
    Male
    Occupation:
    WebzSurfer
    Location:
    Sun, Mon, Tue, WTF, Sat!!! :)
    There are video tutorials available on Youtube. Put in some specific keywords like adding text to wp template / adding text to custom home page / etc., and you could do well to begin your learning. :)

    I remember I too wanted to learn how to do custom pages, how to use the custom fields, custom taxonomies, custom views, and so on, but didn't even knew those terms! I requested n the forum but couldn't get focused help from any body. Now that you wanted a similar help, I remembered what I had gone through, and how much a help in the right direction would have mattered to me then... hence this effort.

    There is nothing like really digging into it and finding the basic and advanced solutions on your own. But still, a nudge in that direction in the initial stage can be so welcome! I hope you too would help someone in future in a similar way... :)

    From one noob to another --> Go get it, do it, achi8eve it, and then don't fail to give it when requested! lol


    :)

    P.S.: there could be more solid, more technically correct methods to do the same tasks, but this is how I actually learned on my own, and through trial and error (and horror) methods, I somehow overcame my own hurdles... so if this works for you it has fulfilled its aim!

    Believe me, sites like youtube and nettuts+, xampp, Wordpress, even the default theme, various plugins, etc. plus your own R&D and programming knowledge and simple tools can help you so much that you can create a related custom options page soon, and can create a good custom home page on your own one day!
     
    Last edited: Oct 27, 2012