TomCornar
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WordPress messes up my form code when using the Visual View tabTry HTML editor markup plugin.This will preserves the user-generated HTML in the TinyMCE editor.
http://ww.wp.xz.cn/extend/plugins/preserved-html-editor-markup/
thanks
Tom cornarForum: Fixing WordPress
In reply to: How to change title of the image to the post title or slug?Forum: Fixing WordPress
In reply to: Remove description field in admin edit category pageAdd this filter to hide the category column
function removecategorydescrption($columns) { // only edit the columns on the current taxonomy if ( !isset($_GET['taxonomy']) || $_GET['taxonomy'] != 'category' ) return $columns; // unset the description columns if ( $posts = $columns['description'] ){ unset($columns['description']); } return $columns; } add_filter('manage_edit-category_columns','removecategorydescrption');Thanks
TomCornarForum: Everything else WordPress
In reply to: WordPress and FacebookForum: Fixing WordPress
In reply to: How to Create Home page with blog postsyou need to create a custom page template .use that template in a page.
See the below link to create page templates.Forum: Fixing WordPress
In reply to: How to remove unwanted BR and P tags?In formatting.php Change the line
function wpautop($pee, $br = 1) to function wpautop($pee, $br = 0)For Removing p tags,check the below link,
http://urbangiraffe.com/plugins/disable-wpautop/.
Hope this helps.
Thanks
Tom Cornar
[sig moderated as per the Forum Rules]Forum: Fixing WordPress
In reply to: How do I put social media icons in navigation barIn themes widgets section ,Under Top widgets drag the social media , search widgets and click save.
Widgets will be displayed in the top above the menus.Thanks
Tom Cornar
[sig moderated as per the Forum Rules]Use 2 speach bubbles in the visual editor to add a shortcode to any post or page .
For listing all the testimonials ,below is the short code.
[testimonial id='all']Thanks
Tom Cornar
[sig moderated as per the Forum Rules]Forum: Networking WordPress
In reply to: Link to Primary BlogTry this Code,
$userinfo = get_userdata($user->ID); $primaryblogurl = get_blogaddress_by_id($userinfo->primary_blog);Hope this helps.
[sig moderated as per the Forum Rules]