mrdthomas
Forum Replies Created
-
Forum: Themes and Templates
In reply to: title and dateYou should check the title class and also the h2 style if its defined in the style sheet.
Forum: Themes and Templates
In reply to: title and dateDid you check the styles applied to those elements? Sounds like padding or margins are creating the extra space.
Forum: Themes and Templates
In reply to: 404 page not showingWhen you say you customized the 404 page do you mean the default page or did you create a new one?
Did you follow the instruction on this site for customizing 404 pages?
What exactly did you do to cause this problem? If you use the default 404 page with customizations does it work?
Forum: Themes and Templates
In reply to: need help urgentlyCheck the header template file to see if it uses the wp_page_menu Template tags to generate the menu.
Forum: Themes and Templates
In reply to: What is this Theme?Your welcome.
I am looking at your site in FF 3.5.2 on windows is this what your site is supposed to look like?
Forum: Themes and Templates
In reply to: What is this Theme?The theme is Arthemia here is a link to the creator:
Forum: Themes and Templates
In reply to: MySQL Query not working…I tried that and I get
Catchable fatal error: Object of class stdClass could not be converted to string in /path/to/file on line 50
Any other ideas?
Forum: Plugins
In reply to: MM-Forms and CalendarOk I figured it out.
I tested in my environment and nothing is broken.
Comment or remove the following lines in the mm-forms.php file:
if (remove_filter('the_content', 'wpautop')) add_filter('the_content', array(&$this, 'wpautop_substitute'));
// Original wpautop function has harmful effect on formatting of form elements. // This wpautop_substitute is a temporary substitution until original is patched. // See https://trac.www.ads-software.com/ticket/4605 function wpautop_substitute($pee, $br = 1) { $pee = $pee . "\n"; // just to make things a little easier, pad the end //return $pee; $pee = preg_replace('|<br />\s*<br />|', "\n\n", $pee); // Space things out a little $allblocks = '(?:address|area|blockquote|caption|colgroup|dd|div|dl|dt|form|h[1-6]|li|map|math|ol|p|pre|table|tbody|td|tfoot|th|thead|tr|ul)'; $pee = preg_replace('!(<' . $allblocks . '[^>]*>)!', "\n$1", $pee); $pee = preg_replace('!(</' . $allblocks . '>)!', "$1\n\n", $pee); $pee = str_replace(array("\r\n", "\r"), "\n", $pee); // cross-platform newlines $pee = preg_replace("/\n\n+/", "\n\n", $pee); // take care of duplicates $pee = preg_replace('/\n?(.+?)(?:\n\s*\n|\z)/s', "<p>$1</p>\n", $pee); // make paragraphs, including one at the end $pee = preg_replace('|<p>\s*?</p>|', '', $pee); // under certain strange conditions it could create a P of entirely whitespace $pee = preg_replace('!<p>([^<]+)\s*?(</(?:div|address|form)[^>]*>)!', "<p>$1</p>$2", $pee); $pee = preg_replace( '|<p>|', "$1<p>", $pee ); $pee = preg_replace('!<p>\s*(</?' . $allblocks . '[^>]*>)\s*</p>!', "$1", $pee); // don't pee all over a tag $pee = preg_replace("|<p>(<li.+?)</p>|", "$1", $pee); // problem with nested lists $pee = preg_replace('|<p><blockquote([^>]*)>|i', "<blockquote$1><p>", $pee); $pee = str_replace('</blockquote></p>', '</p></blockquote>', $pee); $pee = preg_replace('!<p>\s*(</?' . $allblocks . '[^>]*>)!', "$1", $pee); $pee = preg_replace('!(</?' . $allblocks . '[^>]*>)\s*</p>!', "$1", $pee); if ($br) { $pee = preg_replace('/<(script|style).*?<\/\\1>/se', 'str_replace("\n", "<WPPreserveNewline />", "\")', $pee); $pee = preg_replace('|(?<!<br />)\s*\n|', "<br />\n", $pee); // optionally make line breaks $pee = str_replace('<WPPreserveNewline />', "\n", $pee); } $pee = preg_replace('!(</?' . $allblocks . '[^>]*>)\s*<br />!', "$1", $pee); $pee = preg_replace('!<br />(\s*</?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)!', '$1', $pee); if (strpos($pee, '<pre') !== false) $pee = preg_replace('!(<pre.*?>)(.*?)</pre>!ise', " stripslashes('$1') . stripslashes(clean_pre('$2')) . '</pre>' ", $pee); $pee = preg_replace( "|\n</p>$|", '</p>', $pee ); return $pee; }
Forum: Themes and Templates
In reply to: Are there any holiday themes?Have you tried doing a Google search for wordpress holiday themes?
Forum: Themes and Templates
In reply to: Frames with WPThe method that I used to create a static mp3 player in the website footer is as follows.
1. Install WordPress in a subdirectory (www.website.com/wp)
2. Create a frameset that points to the absolute path of your wordpress install (www.website.com/wp) and your footer file (www.website.com/footer.php)then save it at the root of the site as index.php (or .html if you want).When a user visites https://www.website.com the index.php file will load the wordpress install in the main frame and the footer in the lower frame.
This is a quick fix that I came up with and it works for what I am doing.
Thanks