You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1 Removing Sticky's (Text), etc on Mon Jul 16, 2012 12:50 am

Planck

avatar
Administrator
Administrator
Removing Special Posts (Text)

Hello, today's tutorial is how to remove the Global Announcement, Sticky, Annoucement text.
It will only show the name of the post but still will be a "special" post.

Screen shot:
Before
[You must be registered and logged in to see this image.]

After
[You must be registered and logged in to see this image.]

Go to Administrator Panel → Modules → HTML & JAVASCRIPT → Javascript codes management

Create a new javascript

Tilte: (Called it what you want)
Placement : In all the pages
Javascript Code:
Code:
$(document).ready(function() {
    $('.tcl strong:contains("Sticky")').each(function(){
    $(this).css({ 'display': 'none'});
    });
    });

    $(document).ready(function() {
    $('.tcl strong:contains("Announcement")').each(function(){
    $(this).css({ 'display': 'none'});
    });
    });

    $(document).ready(function() {
    $('.tcl strong:contains("Global announcement")').each(function(){
    $(this).css({ 'display': 'none'});
    });
    });

Note: If you have any of them rename those won't be removed.


Tutorial written by [You must be registered and logged in to see this link.]

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum

 


WN2Coding © 2012 Design by WN2Coding Administrators