saintist
Forum Replies Created
-
Forum: Plugins
In reply to: need help with wordpress add_action init to recognise is_singleusage
add_action('wp_head', 'my_function_init');
or
add_action('wp_footer', 'my_function_init');
Forum: Fixing WordPress
In reply to: is_admin always returns true in ajax requestthe same problem, I develop a plugin widget in the plugin adds a text output at each end of the record office, and there is a button in a form for sending Ajax requests to the main page constantly Ajax request is identified through is_admin () as true
Forum: Plugins
In reply to: swfobj plugin src attr bugSorry my English is very bad
Forum: Plugins
In reply to: swfobj plugin src attr bugHi splotch
no, its my function was already in functions.php I remove it and the bug was gone, my function calls bug for some reason,Forum: Plugins
In reply to: swfobj plugin src attr bugsplotch i am sorry ??
i usage this code in finctions.php
function my_formatter($content) { $new_content = ''; $pattern_full = '{(\[raw\].*?\[/raw\])}is'; $pattern_contents = '{\[raw\](.*?)\[/raw\]}is'; $pieces = preg_split($pattern_full, $content, -1, PREG_SPLIT_DELIM_CAPTURE); foreach ($pieces as $piece) { if (preg_match($pattern_contents, $piece, $matches)) { $new_content .= $matches[1]; } else { $new_content .= wptexturize(wpautop($piece)); } } return $new_content; } remove_filter('the_content', 'wpautop'); remove_filter('the_content', 'wptexturize'); add_filter('the_content', 'my_formatter', 99);
because of it not working properly plugun swfobj
Forum: Plugins
In reply to: swfobj plugin src attr bugi deactivate Text Replace
Forum: Plugins
In reply to: swfobj plugin src attr bugI deactivate all plugins ans step to step activate all list
1. WPML Multilingual CMS – result: normal view swf
2. AddThis Social Bookmarking Widget – result: normal view swf
3. Breadcrumb Navigation XT – result: normal view swf
4. All in One SEO Pack – result: bug view swfhtml code:
<object width=”300″ height=”266″ class=”alignleft” id=”swfobj_0″ classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ style=”visibility: visible;”><param value=”/wp-content/uploads/2011/01/gen11.swf” name=”movie”><param value=”opaque” name=”wmode”><!–[if !IE]>–>
<object type=”application/x-shockwave-flash” data=”wp-content/uploads/2011/01/gen11.swf” width=”300″ height=”266″ wmode=”opaque”>
<!–<![endif]–></p>
<p> <!–>–>
</object>–> – view in page
why
& <p> tag?5. Contact Form 7 – The situation has not changed
6. Activate SEO Friendly Images – The situation has not changed7. Activate Text Replace – result:ups!!!!
html code:
<object width=”300″ height=”266″ class=”alignleft” id=”swfobj_0″ classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″><param value=”” name=”movie”><param value=”opaque” name=”wmode”><!–[if !IE]>–>
<object type=”application/x-shockwave-flash” data=”” width=”300″ height=”266″ wmode=”opaque”>
<!–<![endif]–></p>
<p> <!–>–>
</object>in Text Replace configuration changes are no other matches with disappearing piece of code insertion swf
??
Forum: Plugins
In reply to: swfobj plugin src attr buglist plugins:
AddThis Social Bookmarking Widget
All in One SEO Pack
Breadcrumb Navigation XT
Contact Form 7
SEO Friendly Images
Text Replace
WPML Multilingual CMS
&
SwfObj