Generally tabs don’t have to be explained. The structure of the shortcodes is also relatively self-explanatory. For one, around the actual tab-shortcodes you have to put a tab-shortcode. It can have the attributes “id” and “titles”. The ID will be necessary, if you want to use several tabs on one page and is meant for the unique allocation of the individual tabs. Titles are the headlines of the tabs. Within this shortcode, the
-shortcodes are recorded. The “ID” has to be a unique one for every tab and helps the titles to identify, which tabs should be activated. The “tabid” refers to the respective ID of the “tab”.Code
[pastacode lang=”markup” manual=”%26%2391%3Btabs%20id%3D%221%22%20titles%3D%22Titel%201%2C%20Titel%202%22%26%2393%3B%0A%26%2391%3Btab%20id%3D%221%22%20tid%3D%221%22%26%2393%3BLorem%20ipsum%20dolor%20sit%20amet.%26%2391%3B%2Ftab%26%2393%3B%0A%26%2391%3Btab%20id%3D%222%22%20tid%3D%221%22%26%2393%3BLorem%20ipsum%20dolor%20sit%20amet.%26%2391%3B%2Ftab%26%2393%3B%0A%26%2391%3B%2Ftabs%26%2393%3B” message=”” highlight=”” provider=”manual”/]
Attribute tabs
Name | Content | Default value | Meaning |
id | Number | 1 | The number of the tab. If there are more tab-areas, the following tab-area will need the ID “2”. |
titles | Text | – | Defines the headlines of the individual tabs. |
Attribute tab
Name | Content | Default value | Meaning |
id | Number | – | Defines the ID of the individual tab. Has to be ongoing. |
tid | Number | 1 | Here you have to specify the ID from the tab-shortcode. |
War dieser Artikel hilfreich?
Keine Kommentare vorhanden