Cjunghanns
Forum Replies Created
-
hi,
yes, you are missing the wp_gr_address and the wp_gr_openinghours table.Please have a look in the wp_options table and search for the option ‘gr_setup’. in this option there should be something like
s:6:"tables";s:7:"created"
. change this tos:6:"tables";s:1:"."
and try again.may you tell us which versions of wordpress and wp e-commerce you are using?
Forum: Hacks
In reply to: Howto manipulate doctype of templateI found the solution. It works via buffering the header output of the template:
function callback($buffer) { // modify buffer here, and then return the updated code return $buffer; } function buffer_start() { ob_start("callback"); } function buffer_end() { ob_end_flush(); } add_action('get_header', 'buffer_start'); add_action('wp_head', 'buffer_end');
also shown on this website, but for the whole page:
https://www.dagondesign.com/articles/wordpress-hook-for-entire-page-using-output-buffering/Forum: Hacks
In reply to: Howto manipulate doctype of templateok. up to this point I’m now able to put
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "https://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
at the beginning of a document with a hook to ‘get_header’.
but now I don’t know who to eliminate the<!DOCTYPE html etc>
that is now followingexample of output:
`<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML+RDFa 1.0//EN” “https://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd”>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html xmlns=”https://www.w3.org/1999/xhtml” xml:lang=”en” lang=”en”>
<head>’so I have the problem, that the template still sends it’s own doctype.
has anyone any idea how to delete this line from output without changing any wordpress oder template file just with the plugin?