Tagged: , ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #4527

    Hi again, hopefully someone can show me what i’m doing wrong here, i’ve changed the headline button to link to a catagory and also changed the code in the index.php file from this…

    echo ‘<a href=”‘.get_permalink($k_option).'”

    to this…

    echo ‘<a href=”‘.get_category_link($category_id).'”

    but it’s still not working, now it just links to the homepage, not sure what’s going on, i saw this thread that had been put up about 8 months ago with this very thing, and it seemed to work for him.



    Have you defined $category_id? The link won’t work without it…



    Oh i didn’t realize i forgot that. Does it need to be the number of the category? I’ll look at it tonight. Does the number need to be where the “id” is or how should it look. Sorry if i seem kinda dumb on this stuff.


    Hey, thanks for the advice, i figured out what to put in there, much appreciated. I forgot to put the “=36″ in there to define the category.


    Glad that you solved the problem :)

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Headline button’ is closed to new replies.