Plugin: Assign Categories to Pages – version 1.1

by Amit Verma on April 12, 2010

in Blogging,tools

This page has been moved to http://wordpressable.me/plugins/map-categories-to-pages

I have updated Map Categories to Pages. It has auto-insertion capability now.

New Features in version 1.1:

  1. Option for auto-insertion of the Pages on Category pages
  2. Option for auto-insertion of Posts on the Pages which belong to the same category

To enable the features, goto the Map Categories to Pages settings page.

Map Categories to Pages settings page

Choose the appropriate option to enable the features. It also provides the option to specify Header text and style to display just before the posts list on the Pages, e.g. header=Related Posts&before=<h3 class="title">&after=</h3>.

  • header – heading text just before the posts list.
  • before – Opening HTML tag (with CSS class or style) to insert just before the post titles
  • after – closing HTML tag to insert just after the post titles

Read Assign Categories to Pages in WordPress for more information.

{ 9 comments }

solsolet May 4, 2010 at 8:28 pm

Hello Amit,
thank you for the nice plugin, really very useful. Only one question: It works perfect to map a category post to a page. The only bad pint is that in my case only the perma link comes up, and not the whole post.
Is there any tweak to show the whole post or an expert of the post?
Thank you
Cheers
Dirk

Amit Verma May 4, 2010 at 9:03 pm

At the moment, auto-insertion supports only a links to posts. It is very much possible to show full posts or excerpts but for this you will have to make changes in Page template.

Use the code given at http://amit.me/assign-categories-to-pages-in-wordpress/545/#template-changes.

If you still face problem then just shout.

LaaLaa Monroe June 4, 2010 at 8:43 pm

Hello Amit,

I’ve just noticed that someone has referred to the exact wish for my blog that I would like.
I’m new with wordpress and at the moment it’s killing my head trying to work it out how to have a thumbnail and post excerpts on the pages while using your auto-insertion plug-in.

Thanks

Amit Verma June 4, 2010 at 9:57 pm

If you want to display the thumbnail with excerpts then I would suggest you to use MORE tag. But it works only on home page to show excerpts. Use following code just before the loop to achieve the same functionality.

< ?php
global $more; // Declare global $more (before the loop).
$more = 0; // Set (inside the loop) to display content above the more tag.
the_content("More...");
?>

Read more here

LaaLaa Monroe June 4, 2010 at 10:38 pm

Sorry for my ignorance, like I said I’m new to wordpress coding etc so there would be no way to get this :

http://yfrog.com/bh32179364p

for the pages?

Thanks so much for your speedy reply it’s appreciated. But I wouldn’t know where to place that code :(

Amit Verma June 4, 2010 at 11:10 pm

You need to insert some code on Page template file to achieve this layout.

I can help you but you will have to share your theme files. You can drop me a mail at amit[at]amit[dot]me

cesar December 8, 2010 at 3:29 pm

Hi Amit:

Would this plugin support WPMU? I have installed it on a WPMU, but it is not showing only the posts of a category associated with the current page.

Thanks,

César

Amit Verma December 8, 2010 at 3:33 pm

Sorry, it doesn’t support WPMU.

cesar December 8, 2010 at 3:58 pm

Even disabling the WPMU, or enabling in one site only. I guess there are some database changes in the WPMU installation that affects the behaviour.

I’ll try to investigate.

Thank you very much for the plugin,

César

This plugin has been moved to http://wordpressable.me/plugins/map-categories-to-pages. Please leave your comment at Wordpressable ME!!!

Comments on this entry are closed.

Previous post:

Next post: