Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
255 views
in Q2A Core by
I just want to either delete the link or change the link in the header. Where can I do this at?

I see the admin>General>Preferred site URL: What is this applicable to?

And the Q&A site name: gains a Link which I want to delete or change?

Thanks.
Q2A version: 1.6.2

1 Answer

+1 vote
by

To delete the header logo link place below code to anywhere in your theme file.

function logo()
{
    
    $header_logo = $this->content['logo']; 
    
    $header_logo = preg_replace("|<a *href=\"(.*)\">(.*)</a>|","\\2",$header_logo); 
    $this->output(
'<div class="qa-logo">',
$header_logo,
'</div>'
);          
    
}

 

Welcome to the Q&A site for Question2Answer.

If you have a question about Q2A, please ask here, in English.

To report a bug, please create a new issue on Github or ask a question here with the bug tag.

If you just want to try Q2A, please use the demo site.

Categories

...