Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

2046's Loop widget

Skildring

When you build the content with «2046’s loop widget», the only thing you have to decide is what content you want to see and where. All the programming you always wanted to avoid is gone.
The widget covers the most routinely used content logic. The aim of this widget is to speed up the process of content structuring and simplicity of usage while keeping the standards.

Note

I highly encourage you to use the «Easy» instead of 2046’s loop widget. Easy is a new version of 2046 loop widgets. It’s is much more flexible and in active development.

Why I made different Plugin of the same type?
Well some people use the 2046’s loop widget already and are «used to it». Most importantly the Easy is totally different animal although with similar functions.

«A picture better be worth a thousand words.» Don’t forget to check screenshots.

Localization

  • English
  • Czech

Compatibility

Tested with CCTM, More types, More taxonomies, WPML.
WP-PageNavi ready.
Bootstrap ready.

Skjermbilete

Installasjon

If you are installing 2046’s loop widgets for the first time, follow these steps:

  1. Upload the 2046s-widget-loops folder to /wp-content/plugins/ abs activate it in the admin plugin area.
  2. Else, download and activate the plugin through the «Plugins» in the WordPress adimin area.

Widget has no extra settings. All the settings are done in the widget area as like for any other normal widget.

Vanlege spm.

How can I use it`?

First you have to have some dynamic sidebars defined.
Some themes have them registered already, but I doubt they have them in the main content area where this loop widget meets it’s intention.
(Most of the templates have them only in so called sidebars, or header. Widgets are commonly are used for category listing, tag cloud, Facebook features etc.)
The dynamic sidebar is a «slot» where you can put widgets with countless features.

Log in to your admin and go to Appearance>Widgets. If you don’t see the Widgets item, then your template hes no sidebars defined.
How to register sidebar.

What do you suggest?

What I do is, that I register sidebars at least one per logical block in the webdesign layout (template).
Then using 2046’s loop widget you can place the content loops anywhere you like and how many you like.
You can interlace them by any other widgets. By drag & dropping the widgets into the dynamic sidebar areas you can easily define the structure of the whole website.

What about design?

If your template has the most basic CSS setups then you don’t have to wary. Widgets will nicely follow the actual template CSS rules and will obediently follow the predefined
design. If you still needs some exceptions for this or that widget or it’s element, every widget has it’s own CSS «id» or «class» so you can easily bend them to your needs.

I do not see what I have expected to see.

Well the widget is fairly complex.
Check if the restrictions are not beating each other and also check if the content you expect there really is sortable the way you like it to be.
If none of these checks works, then let me know on the forum, I’ll do my best.

Known bugs
  • When you are in the widget setting in the part [elswhere]>[selected taxonomy] then the taxonomy fields are sometimes multiplied. This happens when always you drag&drop the widget.
    Don’t wary this is just a Javascript skin effect. If you save the widget, or you come back next time, it will be fine. (I’m working on it).

Omtalar

There are no reviews for this plugin.

Bidragsytarar og utviklarar

“2046's Loop widget” is open source software. The following people have contributed to this plugin.

Contributors

Endringslogg

2.253

  • NEW – Admin menu > Settings > 2046’s loop widget – lets you switch the widget settings between normal mode and wide mode. More here http://o—-o.info/2065/rearrange-resort-widget-screen-in-wordpress/

2.252

  • Featured images are not rendred with the width and height in the img tag…. it plays much nicely if you build responsice layout 😉

2.251

  • NEW – Special widget (admin)
  • NEW – widget notes (admin)

2.25

  • NEW switch for pagination (on/off)
  • NEW user capabilities. You can select who can see the widget result.. based on WP roles
  • FIX post number for Page types, is shown and working from now.
  • FIX – cruicial fix for post types. From nowt recoignizes the post type correctly and applies the correct logic. (linear = post), (hierarchical = page).. or any other custom post types.

0.2474

  • fixed the «more» function for the content.. when you use the more tag and select in the widget to see the content, the content will by properly striped.

0.2473

  • the widget heading is Translation ready, meaning it is parsed by Gettext or if you have for example then it will go through : qTranslate and then Gettext

0.2472

  • Fix for empty filed for «selected «xxxxx» IDs», it shows nothing, but it schould show all. If empty no restriction are applied in this setting.
  • Fix for last fix :), it really works now
  • added – no restriction field in the category selection, so you can inactivate category constrains

0.2471

  • small fix for NEW – IDs in «restrict to» is 3 possibilities

0.247

  • cache-able
  • h4 added class
  • navigation>link to category (change the arrow)
  • widget sub-title fixed (admin widget panel)
  • NEW – IDs in «restrict to» is 3 possibilities:
    1. only on given IDs
    2. only on child pages of given id
    3. for these Ids and it’s children

0.2461

  • no code changes, only the readme update plus new video showcase
  • 1/2 http://youtu.be/dU8Qll6Wqes
  • 2/2 http://youtu.be/wupAqsyLsF0

0.246

  • NEW – Gallery builder!
  • NEW – h1-h5+span settings for titles
  • NEW – added show/hide edit link
  • NEW – html settings for titles
  • NEW – ON/OFF title link
  • NEW – show/hide edit link
  • asmselect removed (the fancy taxonomy selector) until I find out how to implement it correctly

0.245

  • The image bellow the heading didn’t work : FIXED

0.244

[04.03.2012]

  • localized (English, Czech) ready for more.

0.243

[03.03.2012]

  • NEW ordering and it’s comparison paremetrs as well.
  • NEW filter logic for custom meta and the logic parametrs too. For one custom meta «only».
  • The javascript is handled bit better, but still it’s not prefect ..see the Known bugs bellow.

0.242

  • the custom scafolding changed a bit. It doesn’t add redundant native widget div.
  • also the navigation and the comments moved out of the widget div. This change should give you lot more freedom over their position, then when it was part of the widget scafold.
  • added hard check for all imputs, you can’t write nonsense in the fields, or something that harms the result, or your layout 😉
  • ..under «selected taxonomy» is from now offset as well
  • fixed typo in «taxonomy comparison» variable

0.241

[26.02.2012]

  • when elsewhere>taxonomy was selected and no taxonomy was specified the «post number» didn’t work : FIXED
  • edded Scafolding option
  • image has now selector where you can choose if the image links to: post/page, image or nolink
  • fixed edit links
  • added classes to image links. General and also extra for each link type.
  • Fixed bug for PAge types, when selected «by ID»

0.24

[22.02.2012]

  • fixed pagination
  • fixed navigation for pagination
  • simplified Javascript
  • added the restriction for number of posts/pages in [elsewhere]>[Selected taxonomy]. If the result returns more theb the number and some kind of navigation is ON, then the result will be paged.

0.23

[24.02.2012]

  • the multiple select box for taxonomy types is now runned by the jquery-asmselect (you’ll love it if you have hundreds of tags )
  • works paged

0.21

[24.02.2012]

  • removed some forgotten echo calls
  • the multiple select box has native size 5 rows from now

0.2

  • all 3 widgets where merged in to one widget
  • the file structure of the plugin changed a lot, many files were deleted
  • The old initial JavaScript problem is solved
  • the CSS and JS are not hard coded in each widget but loads independently and only once
  • The widget now finds even custom post types
  • it finds custom taxonomies and build appropriate settings for them
  • new navigation settings (Scribu’s Page Navi ready)
  • and so on…

0.131

  • fixed typo
  • added the page restriction

0.13

  • Post widget fixes : Div «beforewidget» won’t show up if the loop is empty, Disallow on ids can handle multiple ids.
  • Page widget fixes : Disallow on ids can handle multiple ids, Added Prevention for being show on Page, post ids and template types.
  • Recent widget removed
  • Added Final loop widget: Briefly. It let’s you show Post or Pages anywhere. The widget let’s you allow or disallow the loop to be shown on certain places. Plus, you can show or hide comments and it’s form, show the author, list of categories and tags.
  • When the user is logged in the «edit link» is present after the post/page title.
  • A small note added in to all widgets: «To see the widget behave properly, when you drop the widget in here the widget should to be saved first.»
  • In order to have a unique class which won’t interfere with other classes, comment_booble class has been changed from «comment_number» to «wl2046_comment_number»

0.12: 2012-02-07

  • UI fixes + added screenshot

0.11: 2012-02-07

Page widget:

  • add show pages from the same hierarchy level
  • add restrict to pages by ID(s)

Post widget

  • restrict to post ID(s)
  • do not show on: Single post, home, Front Page, Archive, Tag/Term list, Taxonomy, Category list, Author’s list, Search, 404 error page

Global face lift

0.1: 2012-02-05

  • Initial version

Known bugs

When you have multiple widgets where you filter the content by the taxonomies, than when you save some of these widgets the taxonomy selector is multiplied for other widget than the one you just saved ;(
This is not a crucial bug, it wont brake anything it is just something I want to fix. If you know how, let me know.

Future plans

  • Drag&Drop content builder
  • multiple custom meta comparison filter

Thanks

Thanks to Scribu for his WP Navi that I have «integrated» as one of the navigation settings in to the widget. And thanks to Sribu again. When I tried to find an answer for
all the uncommon problems it was his answer somewhere in the Interweb that helps me to find the solution. Thanks to you allyou are my source of knowledge.