Support » Themes and Templates » Nothing in the header file to edit… uses hooks

  • Artelus


    Hi guys… I’m using the Skeleton theme, child theme of the Hybrid theme.

    Now before you tell me to go to their support forums, I have to say that I really can’t afford to pay for their exclusive membership. I only have $18 on me, and I don’t have a job.

    So I would really appreciate some help with this. It’s just a simple thing too, and I don’t see the point on paying $25 just to get one answer to a simple problem.

    The thing is, I don’t know any PHP, and it’s all very complicated. I know that when you want to edit a blog’s code, you go to the file. For example, if you want to edit the title, you go to header.php and edit the HTML code located there.

    Well, that’s just what I want to do. On my blog the title is wrapped in h1 tags, and I would like to change them to something else. Maybe a span tag, or maybe I’ll just put an image in place of it.

    The problem is, when I go to header.php, here’s what I see:

    <div id="header">
    			<?php hybrid_header(); // Header hook ?>
    		</div><!-- #header -->

    what is up with that? I don’t know what hooks are, and I tried to look it up online but the articles made no sense to me. On his website, you have to pay to read his own article on what hooks are, and you have to pay to use his forum as well (Even to read replies which probably have the answer to my question).

    Like I said before, I barley have any money, only $18, and it costs $25 to get my answer, and I simply can’t afford to pay this. So I’m just turning to this community for the answer.

    What do I have to edit in order to change my header code? I looked in the hooks-actions.php file and saw this:

    add_action( 'hybrid_header', 'hybrid_site_title' );
    	add_action( 'hybrid_header', 'hybrid_site_description' );

    The problem is, it’s not HTML. What is that supposed to mean? How do I change the h1 tags to img tags? *srugs* I really can’t tell.

    I’ve already spent 2 hours trying to figure this out. 2 hours when I could have been spending the end of my vacation doing something better. Please don’t make this a waste.

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi


    Forum Moderator

    The thing is, I don’t know any PHP, and it’s all very complicated

    And that’s why there are people who are experts who, often, earn their living this way and, therefore, need paying. If you don’t want to (or can’t) pay for expert support, you’re going to have to learn PHP and how to customise this theme yourself. I suggest you start by searching all files for function hybrid_header() and take it from there.



    Here’s what I found:

    function hybrid_header() {
    	do_action( 'hybrid_header' );

    Ok…that’s pretty straightforward. It’s telling the function to do itself?

    And this too:

    /* Header. */
    	add_action( 'hybrid_header', 'hybrid_site_title' );
    	add_action( 'hybrid_header', 'hybrid_site_description' );

    So…the function “hybrid_Header” which is in my header.php file, is supposed to do the action “hybrid_header” and the action has the site title and description?

    So I guess the “html code” for the header is located inside “hybrid_site_title” and “hybrid_site_description?” Where’s the HTML located?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Nothing in the header file to edit… uses hooks’ is closed to new replies.