yezzz on "[Plugin: Link Library] Question or feature request"

ساخت وبلاگ

Yeah you need to sacrifice one of the fields, that's where you save your information. My setup is class-based and I'm not using any scripting.

A simplified version of what I do is use the field before and after to put in html:

before:
<div class="someclass

after:
"></div>

Make sure there's a trailing space in the before field.

Then simply put 1 or more classes in the link field, eg. country name, and style those classes with the flag as background image (or image position if you want to use an image sprite). Use someclass for your other styling (and maybe your image sprite url)

Of course you could use the field as img src, but if you ever want to change things you need to edit those fields, now you only change the stylesheet.

In my setup I actually use the before of the first field and I close it in the after of the last field, so the whole box gets those classes. Useful for other purposes (including scripting).

If you have any questions just shoot :)

- - , .

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 122 تاريخ : پنجشنبه 29 بهمن 1394 ساعت: 17:47