Essential theme - credit in footer

Re: Essential theme - credit in footer

by Loudy MD. -
Number of replies: 17

Great thank you so much Mary smile

In reply to Loudy MD.

Re: Essential theme - credit in footer

by Mohamed Nabil -

Hey Guys

Just follow those steps:

1- open footer.php and find this line

<?php echo get_string('credit', 'theme_essential'); ?><a href="//about.me/gjbarnard" target="_blank">Gareth J Barnard</a>

2- Then change it with

<b>the text you want</b><a href="//your site.com" target="_blank"> <b> your site name</b></a>

DONE





In reply to Mohamed Nabil

Re: Essential theme - credit in footer

by Don Schwartz -

custom CSS within the general tab of the theme works just fine. Then it won't get forgotten on an upgrade either. But he did get sneaky and change the class of the credit text.

Just add this to the custom css field provided in the theme. Refresh your browser and it will be hidden.

#page-footer .thecredit { visibility: hidden }

In reply to Don Schwartz

Re: Essential theme - credit in footer

by Alexey Piguzov -

Hello!
I tried all ways. It does not work neither. After updating to the latest version 2.8.1.8. Although everything worked through CSS theme. Help me please.

In reply to Alexey Piguzov

Re: Essential theme - credit in footer

by Quintin Seegers -

Hi Alexey,

Try:

#page-footer .themecredit{visibility:hidden; }

I have this line in my Custom.css file and I have no credit line appearing.

Q.

In reply to Quintin Seegers

Re: Essential theme - credit in footer

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

And don't forget to Purge Caches, or have theme developer mode enabled when making changes to css

In reply to Quintin Seegers

Re: Essential theme - credit in footer

by Alexey Piguzov -

I copied this line
# page-footer .themecredit {visibility: hidden; }
in custom CSS
theme_essential | customcss

Cache cleaned.

Does not work!

In reply to Alexey Piguzov

Re: Essential theme - credit in footer

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

Take out the space after the #

#page

In reply to Richard Oelmann

Re: Essential theme - credit in footer

by Alexey Piguzov -

I have so:

#page-footer .thecredit { visibility: hidden }
Does not work! I'm desperate!
At the same time to upgrade everything worked...
In reply to Alexey Piguzov

Re: Essential theme - credit in footer

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

Try this:

#page-footer .footercredit {
    visibility: hidden;
}
In reply to Alexey Piguzov

Re: Essential theme - credit in footer

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

The fix is this...

#page-footer .thecredit { visibility: hidden; }

Average of ratings: Useful (1)
In reply to Mary Evans

Re: Essential theme - credit in footer

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

For future reference (mine as much as anyone elses - and with a slap on my own wrist for not checking which version!): Essential2.8 as requested is .thecredit while Essential2.9 (currently in Beta) appears to be .themecredit

Advice for future readers - use a tool such as firebug to determine the class if it gets changed again ;)

In reply to Mary Evans

Re: Essential theme - credit in footer

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

@Mary,

just curious to verify what is the real class of the div. I never doubt of your posts but today i used the footercredit class. So I verified some past versions and found:

Version 2.814 and older

#page-footer .footercredit {visibility: hidden;}

 

In version 2.817 was:

#page-footer .thecredit { visibility: hidden; }

 

And I don't see the link in version 2.907 Beta (Thanks Gareth Yes)

 

@Graham, 

If you don't know the theme version, apply both or just wait until next update.

 

 

In reply to Fernando Acedo

Re: Essential theme - credit in footer

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

in 2.9.0.6 and 2.9.0.7 its .themecredit, but its been coded slightly differently

    public function standard_footer_html() {
        $output = parent::standard_footer_html();
        $output .= html_writer::start_tag('div', array ('class' => 'themecredit')).
                   get_string('credit', 'theme_essential').
                   html_writer::link('//about.me/gjbarnard', 'Gareth J Barnard', array('target' => '_blank')).
                   html_writer::end_tag('div');

        return $output;
    }

In reply to Fernando Acedo

Re: Essential theme - credit in footer

by Alexey Piguzov -

Thank you, but it does not work!
Version theme_essential 2.8.1.8 (Build: 2015061902)
Moodle 2.8.7 (Build: 20150706)
FireBug:
<div id="yui_3_17_2_2_1441347531108_286" class="thecredit row-fluid">

In reply to Alexey Piguzov

Re: Essential theme - credit in footer

by Steve Ward -

I updated Essential theme to 2.8.1.8 today and I too got the footer message reappear.

I'd previously hidden it with:   #page-footer .thecredit { visibility: hidden; }


So it appears something has changed in this latest version.

In reply to Steve Ward

Re: Essential theme - credit in footer

by Just H -

"If" you still want to remove it, along with your custom CSS, comment out line 234 in Essential's lib.php i.e.

// $customcss = str_replace('thecredit', 'themepagefooter', $customcss);

Average of ratings: Useful (1)
In reply to Alexey Piguzov

Re: Essential theme - credit in footer

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

The dot in front of credit should NOT have a space after it!