Topic RSS
9:54 am
Mr Papa said:
so no plugins active now? just the theme? and the custom icon is back on… plus
//
//
<script type="text/javascript"> $j = jQuery.noConflict(); var themePath = 'http://mountainhollowgamecalls.com/wp-content/themes/mhgamecallsv1/'; // for js functions var blogPath = 'http://mountainhollowgamecalls.com'; // for js functions </script> <script type="text/javascript" src="http://mountainhollowgamecalls.....1.3.min.js"></script> <script type="text/javascript" src="http://mountainhollowgamecalls.....ent.min.js"></script> <!-- Drop down menus --> <script type="text/javascript" src="http://mountainhollowgamecalls.....js/menu.js"></script><!-- Font replacement (cufon) --> <script type="text/javascript" src="http://mountainhollowgamecalls.....fon-yui.js"></script> <script type="text/javascript" src="http://mountainhollowgamecalls.....ht.font.js"></script> <script type="text/javascript" src="http://mountainhollowgamecalls.....ur.font.js"></script> <script type="text/javascript"> Cufon.replace('h1, h2, h3, h4, h5, h6, #fancybox-title-main', { fontFamily: 'Vegur' }); Cufon.replace('.pageTitle, #Showcase h1, #Showcase h2, #Showcase h3, #Showcase h4, #Showcase h5, #Showcase h6', { fontFamily: 'Vegur Light' }); function modalStart() { Cufon.replace('#fancybox-title-main', { fontFamily: 'Vegur' }); } </script> <!-- Input labels --> <script type="text/javascript" src="http://mountainhollowgamecalls.....bel.min.js"></script><!-- Inline popups/modal windows --> <script type="text/javascript" src="http://mountainhollowgamecalls......1.pack.js"></script>which is a lot, but not necessarily a problem… do any deal with page content or wp filters?
I have checked each line one by one disabling them but none of that worked. I am clueless right now.
9:56 am
Mr Papa said:
does your theme have a functions.php? if so, could you see what they are doing in there?
yes there is a function file here is the code
<?php
#==================================================================
#
# Admin control panel setup
#
#==================================================================
#—————————————————————–
# Default theme variables and information
#—————————————————————–
$themeInfo = get_theme_data(TEMPLATEPATH . '/style.css');
$themeVersion = trim($themeInfo['Version']);
$themeTitle= trim($themeInfo['Title']);
$shortname = strtolower(str_replace(" ","",$themeTitle)) . "_";
// set as constants
//……………………………………………………….
define('THEMENAME', $themeTitle);
define('THEMEVERSION', $themeVersion);
// shortcuts variables
//……………………………………………………….
$cssPath = get_bloginfo('stylesheet_directory') . "/";
$themePath = get_bloginfo('template_url') . "/";
$themeUrlArray = parse_url(get_bloginfo('template_url'));
$themeLocalUrl = $themeUrlArray['path'] . "/";
// setup info (category list, page list, etc)
//……………………………………………………….
$allCategories = get_categories('hide_empty=0');
$allPages = get_pages('hide_empty=0');
$pageList = array();
$categoryList = array();
// create category and page list arrays
//……………………………………………………….
foreach ($allPages as $thisPage) {
$pageList[$thisPage->ID] = $thisPage->post_title;
$pages_ids[] = $thisPage->ID;
}
foreach ($allCategories as $thisCategory) {
$categoryList[$thisCategory->cat_ID] = $thisCategory->cat_name;
$cats_ids[] = $thisCategory->cat_ID;
}
#—————————————————————–
# Admin Menu Options
#—————————————————————–
// include options functions
//……………………………………………………….
include_once('theme_admin/includes/option_functions.php');
// Menu structure
//……………………………………………………….
function this_theme_menu() {
add_menu_page('Theme Options', THEMENAME, 10, 'theme-setup', 'loadOptionsPage', get_template_directory_uri().'/theme_admin/images/themePanelIcon.png');
add_submenu_page('theme-setup', 'General Settings', 'General Options', 10, 'theme-setup', 'loadOptionsPage');
add_submenu_page('theme-setup', 'Main Menu', 'Main Menu', 10, 'mainmenu-options', 'loadOptionsPage');
add_submenu_page('theme-setup', 'Home Page', 'Home Page', 10, 'homepage-options', 'loadOptionsPage');
add_submenu_page('theme-setup', 'Slideshow', 'Slideshow', 10, 'slideshow-options', 'loadOptionsPage');
add_submenu_page('theme-setup', 'Featured Content', 'Featured Content', 10, 'featured-options', 'loadOptionsPage');
add_submenu_page('theme-setup', 'Sidebar', 'Sidebar', 10, 'sidebar-options', 'loadOptionsPage');
add_submenu_page('theme-setup', 'Blog', 'Blog Pages', 10, 'blog-options', 'loadOptionsPage');
add_submenu_page('theme-setup', 'Portfolio', 'Portfolio Pages', 10, 'portfolio-options', 'loadOptionsPage');
add_submenu_page('theme-setup', 'Contact Page', 'Contact Page', 10, 'contact-options', 'loadOptionsPage');
}
// Create menu
//……………………………………………………….
add_action('admin_menu','this_theme_menu');
// call and display the requested options page
//……………………………………………………….
function loadOptionsPage() {
global $themeTitle,$shortname,$pageList,$categoryList,$wp_deprecated_widgets_callbacks;
include_once('theme_admin/includes/options_pages/'. $_GET['page'] .'.php');
$customOptionsPages = array('slideshow-options', 'mainmenu-options', 'blog-options', 'portfolio-options', 'featured-options', 'sidebar-options');
if ( !in_array($_GET['page'], $customOptionsPages) ) {
include_once("theme_admin/options.php");
}
}
#—————————————————————–
# Addon Functions and Content
#—————————————————————–
// include custom functions
//……………………………………………………….
include_once("theme_admin/includes/addon-functions.php");
// include meta boxes and sidebar registrations
//……………………………………………………….
include_once("theme_admin/includes/sidebars-metaboxes.php");
// include widgets
#—————————————————————–
include_once('theme_admin/includes/widgets.php');
?>
well it appears that your theme has a whole bunch of options… you need to go through them and see if any are dealing with page content or removal/changes of wp filters…
5:39 pm
Mr Papa said:
well it appears that your theme has a whole bunch of options… you need to go through them and see if any are dealing with page content or removal/changes of wp filters…
I have went through the functions.php file and checked every line it did not change anything though on the forum
something in your theme (we did rule out plugins right? and changing to default theme fixed it, right?) is converting the \n chars to <br /> tags… just have to locate what…
8:10 am
Mr Papa said:
something in your theme (we did rule out plugins right? and changing to default theme fixed it, right?) is converting the \n chars to <br /> tags… just have to locate what…
Yea i disabled all plugins but nothing changed. Also when using the switching to default theme with plugins it still works
Most Users Ever Online: 444
Currently Online: Yellow Swordfish, chaiavi, ptomislav, steve.engelking
77 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
-Radio-: 1251
Lee H: 606
Luffer: 535
Conrad_Farlow: 502
jim: 478
neon: 263
ovizii: 240
Tal: 240
Member Stats:
Guest Posters: 2625
Members: 7361
Moderators: 1
Admins: 2
Forum Stats:
Groups: 5
Forums: 16
Topics: 10890
Posts: 79531
Newest Members: ndc, MacBravO, irlandes1, triphop, betokan, Jonathan Yovani Muñoz, somosguatemala, ahcreate, eatonrabbit, prasanna
Moderators: Brandon C (162)
Administrators: Yellow Swordfish (22211), Mr Papa (23688)
Log In
Register
Home
Add Reply
Add Topic
Quote
Offline



Visit
Online
Privacy Policy



