I have a “Newscast sidebar news” widget on the sidebar. I want to add archive link to widget title. How can I do it?
Another question: In this widget, the body text is too long. How can I shorten?
You can adjust the title to have an html link by changing the title to something like:
<a href="www.yoursite.com/archive-link">Community News</a>
Where the url is where you want the user to be able to go when they click on the title.
You can use the more tag to tell wordpress where to break apart articles in preview areas like widgets or overview pages:
In a page or a post, OK, I can do it. But I want to use it in the Newscast Sidebar News widget title, it doesn’t work. What can I do?
The widget uses the the_excerpt() function: http://codex.wordpress.org/Function_Reference/the_excerpt
You can use the “excerpt” option field on the post editor page and write a custom excerpt text or use the length filter: http://codex.wordpress.org/Function_Reference/the_excerpt#Control_Excerpt_Length_using_Filters if you just want to change the excerpt length.
The topic ‘Widget Title and Body Text’ is closed to new replies.