A A A

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Forums Displaying Wrong
Aug 27, 2010
9:54 am
natebeast
Guest

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.

Aug 27, 2010
9:55 am

SP Master
Forum Posts: 23688
Member Since:
Dec 10, 2006
Offline

does your theme have a functions.php?  if so, could you see what they are doing in there?

Aug 27, 2010
9:55 am
natebeast
Guest

and simplre press is the only plugin thats installed right now

Aug 27, 2010
9:56 am
natebeast
Guest

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');

?>

Aug 27, 2010
12:17 pm

SP Master
Forum Posts: 23688
Member Since:
Dec 10, 2006
Offline

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…

Aug 30, 2010
5:39 pm
natebeast
Guest

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

Aug 30, 2010
11:52 pm

SP Master
Forum Posts: 23688
Member Since:
Dec 10, 2006
Offline

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…

Aug 31, 2010
8:10 am
natebeast
Guest

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

Aug 31, 2010
11:34 am

SP Master
Forum Posts: 22223
Member Since:
Nov 9, 2008
Online

Sorry – but what do you mean by 'it still works'?

Yellow Swordfish
Aug 31, 2010
2:43 pm
natebeast
Guest

Yellow Swordfish said:

Sorry – but what do you mean by 'it still works'?


I meant even with plugins on in the default wordpress theme the forum still looks good but when i change to the theme i want to use is when it messes it up

Forum Timezone: America/Chicago

Most Users Ever Online: 444

Currently Online: Yellow Swordfish, chaiavi, ptomislav, steve.engelking
77 Guest(s)

Currently Browsing this Page:
1 Guest(s)

See All Online Activity

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

Moderators: Brandon C (162)

Administrators: Yellow Swordfish (22211), Mr Papa (23688)