Beskrivning
A small plugin whose only purpose is to show links added with the Dashboard, using a shortcode.
Installation
Place showlinks.php the plugin directory, activate it in the Dashboard, add the short code [showlinks] to any page or post.
Available parameters:
* category= // Cannot be used along with category name
* category_name=”” // Cannot be used along with category
* show_images=1 or 0 (1=true (default), 0=false)
* show_name=1 or 0 (1=true, 0=false (default)) // Only active when picture is set for link
* show_description=1 or 0 (1=true, 0=false (default)
Examples:
* To show category ID’s 2 and 5 along with the description
* [showlinks category=2,5 show_description=1]
- To show link category ”Räksmörgås” (Yes, this is some what stupid when using characters like this… use ID’s instead if possible.)
-
[showlink category_name=”Räksmörgås”]
-
Done!
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”Show Links” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”Show Links” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
1.0
- We removed all the code written when I was overthinking and left one line…
1.01
- Added the options category, category_name, show_images, show_name and show_description.
1.02
- Rewrote some code regarding string output. This is a feature/bug-fix release.