From our blog section does not work

May 2014 WordPress Theme
GK User
Tue Feb 28, 2017 5:54 pm
Hi. I added new post but do not see it in "From our blog" section of frontpage. 4 hours have passed already. Still old demo posts there.

The code I use:

[gknsp cache_time="0" title="Читать:" before_title="<h3 class='box-title'>" after_title="</h3>" widget_css_suffix="separator overlay" offset="4" article_cols="3" article_rows="1" article_image_w="380" article_image_h="204" article_image_order="1" article_image_popup="off" article_title_order="2" article_info_state="off" article_block_padding="0 7px 64px 7px" image_block_padding="0 0 40px 0" article_text_len="6"]
User avatar
Junior Boarder

Joshua M
Tue Feb 28, 2017 9:46 pm
Hi,

Please try to remove the
Code: Select all
offset="4"
attribute from your code.
User avatar
Moderator

GK User
Wed Mar 01, 2017 7:45 am
Thanks. It helped. What attribute was that for?
User avatar
Junior Boarder

Joshua M
Wed Mar 01, 2017 10:32 am
If the "offset" has value i.e. "4", widget starts from 4th post (instead of the first - latest in this case). It's useful when you are using two ore more News Show Pro widgets on the same page.
User avatar
Moderator

GK User
Wed Mar 01, 2017 11:48 am
I see 3 last posts now but order is not by date of publishing. Please help to fix it.
Also how to show full post title?

[gknsp cache_time="0" title="Читать:" before_title="<h3 class='box-title'>" after_title="</h3>" widget_css_suffix="separator overlay" article_cols="3" article_rows="1" article_image_w="380" article_image_h="204" article_image_order="1" article_image_popup="off" article_title_order="2" article_info_state="off" article_block_padding="0 7px 64px 7px" image_block_padding="0 0 20px 0" article_text_len="0" article_readmore_state="off"]
User avatar
Junior Boarder

Joshua M
Thu Mar 02, 2017 8:54 am
Hi,
Please check the article about News Show Pro shortcode:
https://www.gavick.com/blog/news-show-p ... -shortcode
use "order" and "orderby" attributes for sorting and "article_title_len" for post titles.
User avatar
Moderator

GK User
Thu Mar 02, 2017 9:44 am
Thanks. Everything works now. Final version of code:

[gknsp cache_time="0" title="Читать" before_title="<h3 class='box-title bigtitle'><small>" after_title="</small></h3>" widget_css_suffix="separator overlay" article_cols="3" article_rows="1" article_image_w="380" article_image_h="204" article_image_order="1" article_image_popup="off" article_title_order="2" article_info_state="off" article_block_padding="0 7px 5px 7px" image_block_padding="0 0 20px 0" article_text_len="0" article_readmore_state="off" article_title_len_type="words" article_title_len="20" orderby="date"]
User avatar
Junior Boarder


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