shortcodes problem

GK User
Thu Jul 14, 2016 7:02 am
I have used older themes like news2 news game etc. Now I am trying technews theme on xampp. I found a few things unusual.

1. There is no shortcode menu in visual editor in page editor.

2. No shortcode for toggles

3. No shortcode for columns



Why are they missing? How to insert them in theme? Are these no longer required? I do not want to use visual editor and want to rely only on inbuilt theme features for these.
User avatar
Junior Boarder

Joshua M
Mon Jul 18, 2016 8:15 am
Hi,

You can still use columns in TechNews, but you have to add them manually (via text editor):
Code: Select all
<div class="gk-cols" data-cols="3"><div>Donec porta, massa ac rutrum placerat, augue erat elementum nisi, ac ornare metus nibh quis neque. Sed nec nisi sit amet leo porta fringilla vitae nec urna.</div><div> Morbi sit amet rhoncus diam, eget maximus neque. Donec metus arcu, semper at placerat a, porta eget erat. Etiam efficitur interdum bibendum. Praesent tempus quam libero, vitae dictum turpis ullamcorper quis. Morbi vitae purus massa. Quisque nec nunc sit amet erat consequat pretium. Fusce malesuada elit a nunc ullamcorper congue. Curabitur vitae nisl ut massa aliquet ultricies </div><div>et quis ipsum. Integer justo tortor, laoreet a ex mollis, facilisis tristique libero. Maecenas placerat vehicula erat, quis malesuada nisl. Donec blandit interdum ante non mattis. Interdum et malesuada fames ac ante ipsum primis in faucibus. Vestibulum eget suscipit nulla.</div></div>


Toggles are unfortunately removed, more informations may be found here:
https://www.gavick.com/wordpress-themes ... typography
We've removed GavernWP framework, moved all options to native WordPress Customizer, so the latest themes are lighter and better optimized.
User avatar
Moderator

GK User
Mon Jul 18, 2016 9:11 am
thanks for replying. i had read that in documentation and quickstart and then asked question. my problem is that width attribute is not available in this. it was available in [columns width="80,20"] shortcode

But i read several other document files and copie shortcode within my theme with css.

please do tell me whether width attribute is available or not in "gk-cols"
User avatar
Junior Boarder

Joshua M
Tue Jul 19, 2016 10:07 am
Hi,

The shortcode is not available, but you can use the following syntax:
Code: Select all
<div class="gk-cols" data-cols="2">
<div style="width: 80%;">Content for the first column</div>
<div style="width: 20%;">Content for the second column</div>
</div>
User avatar
Moderator

GK User
Thu Jul 21, 2016 7:51 am
thanks for this
User avatar
Junior Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.