Hi I am using wordpress at the moment to design some site I am not over familiar with it and having some issues basically I have two widgets that place text from certain posts on a page The only problem is the widget isn't picking up the formatting of the text Even basic HTML code like bold or underline Is there any way to fix this within the dash board, a plug is or hard coding the wordpress files Thanks
You can deactivate all plugins and test if it works or not. If one the plugins is causing the problem you can start activating them one by one.
Chances are the widgets are stripping out HTML, since it can be dangerous. Which widgets are you using? Did you write them? Have you tried them on a clean setup, with no plugins or anything? Have you tried them on the basic Twenty Fourteen theme, to see if they work there?
Hi The theme I was given and have to be use I did not write the widgets I did some research and googling and found code on the internet to make the titles pass HTML but I am still working on the posts themselves http://premium.wpmudev.org/blog/wordpress-widget-title-html/ I was trying to use the code and change it to "$showposts" like so function html_widget_showpost ($showposts) { //HTML tag opening/closing brackets $showposts = str_replace( '[', '<', $showposts ); $showposts = str_replace( '[/', '</', $showposts ); // bold -- changed from 's' to 'strong' because of strikethrough code $showposts = str_replace( 'strong]', 'strong>', $showposts ); $showposts = str_replace( 'b]', 'b>', $showposts ); return $showposts; } add_filter('widget_showpost' , 'html_widget_showpost'); Code (markup): But its not working Is showposts the right pentameter these are the ones listed in the widget file $title $category $cols $showposts $longdesc $customclass $linktitle $disabletext
Can only be a theme issue. Revert back to the default theme and see if your widget css is working. If it works, your theme needs a check. Else, if you want, share your Wordpress details with me(over PM) and I can see for you