Skip to content

Commit

Permalink
remove all traces of inc/ad-codes.php
Browse files Browse the repository at this point in the history
  • Loading branch information
rnagle committed Aug 17, 2015
1 parent bf748ac commit 41e2714
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 131 deletions.
5 changes: 0 additions & 5 deletions docs/api/inc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ WordPress theme custom functions are defined in functions.php. To make maintenan

Miscellaneous functions:
------------------------
- ad-codes.php: If you have the `Ad Codes Manager <http://wordpress.org/extend/plugins/ad-code-manager/>`_ plugin installed, this provides:

- some additional whitelisting
- ad tag locations for Largo

- cached-core-functions.php:

- caches the ``wp_nav_menu`` for all tag and category pages used in the nav menus
Expand Down
2 changes: 1 addition & 1 deletion fonts/fontello/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -335,4 +335,4 @@ <h1>
</div>
<div class="container footer">Generated by <a href="http://fontello.com">fontello.com</a></div>
</body>
</html>
</html>
7 changes: 0 additions & 7 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,6 @@ private function require_files() {
$includes[] = '/inc/custom-less-variables.php';
}

if ( $this->is_plugin_active( 'ad-code-manager' ) ) {
$includes[] = '/inc/ad-codes.php';
}

foreach ( $includes as $include ) {
require_once( get_template_directory() . $include );
}
Expand Down Expand Up @@ -339,9 +335,6 @@ public function is_less_enabled() {
public function is_plugin_active( $plugin_slug ) {

switch ( $plugin_slug ) {
case 'ad-code-manager':
return (bool) class_exists( 'Ad_Code_Manager' );

case 'co-authors-plus':
return (bool) class_exists( 'coauthors_plus' );

Expand Down
118 changes: 0 additions & 118 deletions inc/ad-codes.php

This file was deleted.

0 comments on commit 41e2714

Please sign in to comment.