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

How to edit WordPress?

Discussion in 'BlackHat Lounge' started by SpellZ, May 9, 2009.

  1. SpellZ

    SpellZ Regular Member

    Joined:
    Feb 8, 2009
    Messages:
    357
    Likes Received:
    312
    Location:
    Toronto, ON
    [​IMG]

    So I've downloaded the Rhea theme, uploaded it, and this is what I get.

    Question:

    - How do I remove the banner? The "Text Link Ads" =/
    - How do I add extra buttons, etc? at the top where it says "Home", etc, etc
    - At the bottom of the entire thing it says, "Created by ------" how do I remove that?

    Thank you so much guys!:rolleyes:
     
  2. scott1995

    scott1995 Registered Member

    Joined:
    Sep 13, 2008
    Messages:
    72
    Likes Received:
    31
    To remove that ad code, you will have to edit the templates html.
    Extra buttons, just add widges, what says home is pages, so just add a page to have another thing there.
    For the last thing edit the template's html too
     
  3. SpellZ

    SpellZ Regular Member

    Joined:
    Feb 8, 2009
    Messages:
    357
    Likes Received:
    312
    Location:
    Toronto, ON
    Can't seem to find it...

    Where do you think it might be?

    P.S. I also found this under Main Index Template (index.php)


    Wtf....?


    As foor what I have

    * Comments (comments.php)
    * Footer (footer.php)
    * Header (header.php)
    * Main Index Template (index.php)
    * Page Template (page.php)
    * Search Results (search.php)
    * Sidebar (sidebar.php)
    * Single Post (single.php)
    * Sitemap Page Template (sitemaps.php)
    * Theme Functions (functions.php)
    * lsidebar.php (lsidebar.php)
    * rsidebar.php (rsidebar.php)


    Where do you think it might be located at?
     
  4. navin

    navin Junior Member

    Joined:
    Mar 15, 2007
    Messages:
    106
    Likes Received:
    25
    Hey SpellZ,
    Try editing these pages:
    Header.php (for the buttons)
    Page.php for the textlinkads banner
    Footer.php to remove the "created by ... " text from the footer.

    Hope it helps ;)
     
  5. SpellZ

    SpellZ Regular Member

    Joined:
    Feb 8, 2009
    Messages:
    357
    Likes Received:
    312
    Location:
    Toronto, ON
    page.php has

     
  6. SpellZ

    SpellZ Regular Member

    Joined:
    Feb 8, 2009
    Messages:
    357
    Likes Received:
    312
    Location:
    Toronto, ON
    Starts to :bawling:
     
  7. keinehabe

    keinehabe Supreme Member

    Joined:
    Nov 4, 2008
    Messages:
    1,207
    Likes Received:
    472
    Gender:
    Male
    Occupation:
    -= CEO =-
    Location:
    Heaven
    Home Page:
    everything is on your theme files ...
    open with dreamwaver or any other php editor , and check the code .... most probably the ad code it's added on single.php or page.php , somewhere at the top , if there is just the function for calling then you have to look on functions.php :) easy
     
  8. PepsiGuy

    PepsiGuy Registered Member

    Joined:
    Apr 25, 2009
    Messages:
    81
    Likes Received:
    130
    Remove from index.php (Gets rid of textlinkads)
    Code:
    <script type="text/javascript">
    /* <![CDATA[ */
    function affiliateLink(str){ str = unescape(str); var r = ''; for(var i = 0; i < str.length; i++) r += String.fromCharCode(2^str.charCodeAt(i)); document.write(r); }
    affiliateLink('%3Ec%22jpgd%3F%20jvvr8--uuu%2Cvgzv/nkli/cfq%2Camo-%3Dpgd%3F%3B2407%20%3C%3Ekoe%22qpa%3F%20jvvr8--uuu%2Cvgzv/nkli/cfq%2Camo-kocegq-vgzv%5Dnkli%5Dcfq%5DC%5D64%3Az42%2Cekd%20%22%60mpfgp%3F%202%20%22cnv%3F%20Vgzv%22Nkli%22Cfq%20%3C%3E-c%3C');
    /* ]]> */
    </script>
    Remove from footer.php (Gets rid of Designed by Jai)
    Code:
     | Designed by - <a href="hxxp://blogohblog.com/">Jai</a> 
    Last but not least, where it says "Home" at the top, that's where it displays the pages that you've written with wordpress. So if you want to add more "buttons" up there, write more "pages".

    Anyway, hope I helped.
     
  9. SpellZ

    SpellZ Regular Member

    Joined:
    Feb 8, 2009
    Messages:
    357
    Likes Received:
    312
    Location:
    Toronto, ON
    Wow! Thank you so much for such a detailed reply!
    That was awesome! I just followed what you wrote (nothing less, nothing more) and everything worked as I wanted it to!

    Alright this is where I am right now

    [​IMG]

    Everything is working great, I can change the background, etc, etc, etc

    Here is what I'm having problems with

    1. How do you move the "Feed | Subscribe via Email" to the right? .. Or to a whole different location in general?

    2. Notice how on the right side, the "Archives" is higher then the left side "Categories"... I mean techniclly it should be fixed by the source codes, correct? I go in, I chane it, done.. BUT...

    Code for left:
    Code for right:

    See the BIIIIG difference? How do I fix that? =/ I want to move the left column.. up

    Also, what is with the whole "google" thing?
    google_ad_client = "pub-9312294701485395";
    google_cpa_choice = "CAEQ6fqXhAIaCO_mwRos0nIlKK2293M";
    google_ad_channel = "2887620906";

    What in the world is that? Do I need it, or can I remove it?

    Thanks a lot in advance guys! :D
     
  10. SpellZ

    SpellZ Regular Member

    Joined:
    Feb 8, 2009
    Messages:
    357
    Likes Received:
    312
    Location:
    Toronto, ON
    No? Nobody knows?