ubc / wiki-embed

WordPress plugin that lets you embed mediawiki pages into your site, sites like Wikipedia
19 stars 10 forks source link

Shorten Content #1

Open abmultimedia opened 12 years ago

abmultimedia commented 12 years ago

This is a great plugin!

Is it possible to simply retrieve the intro paragraph instead of all the content?

enejb commented 12 years ago

It should be, but I haven't had time to look into to that. If you make it work feel free to make a pull request.

pastorjacklamb commented 12 years ago

I would love to do that as well. I'm trying to figure out how to do it. I also want to pull the population data and insert it as a custom field. I'll let you know if I figure anything out.

pastorjacklamb commented 12 years ago

I've got a terrible solution, but it works until I figure out something better. I just hid everything but the opening section with CSS.

abmultimedia commented 12 years ago

Yea, that's what I've been doing as well. It's not the best solution but it works for me too. Plus, with caching it's a bit smaller of a pill to swallow.