PHP / How many block in particular widget
-
Hi Johan,
I use your plugin for some time and it was I who did the translation for pt-br. Now I need some help … I need to get the php count how many content blocks have in particular widget to include the classes corresponding to the amount of blocks.
I’m using bootstrap, then, if I have only one content block within the widget in question must enter the col-md-12 class; if two blocks, the class has to be col-md-6 and so on …I do not need to do this plugin automatically count but as my knowledge of php is small, need help to create this code for me to include in my page. Can you help me?
Taking advantage, it would be interesting if there was the possibility to set the featured image positioning after or before the title.
- The topic ‘PHP / How many block in particular widget’ is closed to new replies.