silence226
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Add wordpress.com stats counter to sidebarya, I want to know how to add stats information to sidebar
Forum: Installing WordPress
In reply to: does its counts include search-engine bot?Sorry for that, the plugin I mean is “WordPress.com Stats”
Forum: Fixing WordPress
In reply to: DIV and Paragraph beheaver in 2.1@seluna:
see my post here:
https://www.ads-software.com/support/topic/102799?replies=2Forum: Fixing WordPress
In reply to: 2.1 Bugs?I can extract .7z by WinRAR v3.6 or you may go 7z official website https://www.7-zip.org/
Forum: Fixing WordPress
In reply to: 2.1 Bugs?the exact problem is still unknown for me yet,
but it can be resolved by replacing a “complete” version of TinyMCE, it will show up all the functions that tinymce has, see the following screenshot:
https://xs411.xs.to/xs411/07043/tinymce2.pngdownload the file:
https://alpha1394.googlepages.com/tinymce.7zremove ALL files in wp-includes/js/tinymce,
and extract the file you just downloaded.resolution is from: https://www.robbin.cc/vb/showthread.php?t=501
Forum: Fixing WordPress
In reply to: WP 2.1 – Posting Problem2.1 version tinyMCE will replace <div> by <p> when saving post, you may change this by hacking file: wp-incluede/js/tinymce 的 tiny_mce_config.php
about 24th line, find:
$valid_elements = ‘p/-div[*],-strong/-b[*],-em/-i[*],-font[*],-ul[*],-ol[*],-li[*],*[*]’;
replace by:
$valid_elements = ‘-strong/-b[*],-em/-i[*],-font[*],-ul[*],-ol[*],-li[*],*[*]’;
another is “Post Formatting” issue, wordpress will add <p> tag inside the tag <div> when you brows the post,
so you have to hacking the file: wp-includes/formatting.php
about 66th line find:
$pee = preg_replace( ‘|<p>(<div[^>]*>\s*)|’, “$1<p>”, $pee );
and comment it,and it will never append <p> to the <div>
Forum: Fixing WordPress
In reply to: 2.1 Code/wysiwyg issueyou may hack tiny_mce_config.php file in the following folder: /wordpress/wp-includes/js/tinymce
about 24th line:
$valid_elements = 'p/-div[*],-strong/-b[*],-em/-i[*],-font[*],-ul[*],-ol[*],-li[*],*[*]';
delete
p/-div[*],
so it will never replace tag div by tag p