Editing Functions File

Posted in: Newspaper
Post count: 240

When you say to add something to a functions file, where exactly does it get added?

For example: https://forum.tagdiv.com/how-to-make-the-site-faster/
How and exactly where would I add this? I am not good with PHP so I don’t understand the tags. Also, somewhere I saw something about taking Contact Form 7 off every page by adding code – where was that? What would that look like here?

add_filter( ‘jpeg_quality’, create_function(”, ‘return 50;’ ) );

Here is the end of my functions.php

<div class="td-skin-scroll"><i class="td-icon-read-down"></i></div>
</div>
</div>
<div class="clearfix"></div>
<div class="td-set-hide-show"></div>
<div class="td-screen-demo" data-width-preview="380"></div>
<div class="td-screen-demo-extend"></div>
</div>

<?php
}

}

Post count: 23312

Hello nycinsider,

First of all, I will thank you for your interests in our items. Regarding on your above example, please notice that this documentation refers to speed optimization and there you will find some steps which you have to follow in order to achieve. As you can see, this type of tutorials refers to only advanced users. As a hint, if you want to use that snippet of the code regarding on images optimization you should add it to the bottom of functions.php core file. Please keep in mind that all the functions have to be put there.
Unfortunately, we cannot provide this type of services at the moment and if you need to make some optimizations and if you are not aware of the steps in this regard, please consider hiring a freelancer/developer to help you.

Thanks for your understanding!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.