Gallery Page - (Prev. Next)

Modern, responsive, unique and elegant one-page WordPress theme to showcase your creativity
GK User
Fri Feb 07, 2014 9:43 am
Hi,

How do I get the "Prev. - Next" (or with arrows) navigation for the Gallery in pages ?

Thanks in advance.
Marcos.
User avatar
Senior Boarder

GK User
Fri Feb 07, 2014 10:13 am
Hi,

Unfortunately, this kind of modification is beyond our technical support.
User avatar
Moderator

GK User
Wed Aug 20, 2014 1:36 pm
Hello Piortr,

Is there a way to set it so all gallery images all appear the same size? I have a gallery template page and have assigned images to the gallery but they vary in site so the image size fluctuates from big to small depending on the image size.

Thanks,
AJ
User avatar
Expert Boarder

GK User
Wed Aug 20, 2014 2:07 pm
Hi,

Unofrtunately there's no siple way to do it. You should use images with the same sizes, that's all.
User avatar
Moderator

GK User
Wed Aug 20, 2014 2:11 pm
Additionally, How can I add a "read more" hyperlink caption? If not possible, can I use GK News pro on a created page or just the front page? I'm creating a food page and my idea is:

1. Image gallery of a dish
2. "Read More" in the picture within the gallery that hyperlinks to a created page with recipe etc.
3. If I can't add hyperlink in gallery image, my next idea is to use GK News Pro because it does provide "Read More" I can link to recipe page.

I'm looking for options to enhance the created pages.. so if none of the above are available I'll just use the frontpage template on some of the created pages that I want "frontpage" content options on.
User avatar
Expert Boarder

GK User
Thu Aug 21, 2014 6:24 am
Hello,

Unfortunately it's not possible to add "read more" into your gallery. I think you that GK News SHow Pro widget will be good solution in this case. If you are using the latest version of separated News Show Pro, you can also use shortcode in your pages to display news show pro widget:
http://gavick.com/demo/wordpress/storef ... ge_id=1979
User avatar
Moderator

GK User
Thu Aug 21, 2014 1:45 pm
Thanks Piotr.. In the documentation you referenced, looks like there's a missing link

"Before proceeding you should ensure you are familiar with how to create the layout of the tabs on the demo frontpage; a guide to this may be found here."

The documentation doesn't include a hyperlink.
Also--
1. Do I place the shortcode in a created page or FTP to CSS or something?
2. Do I use the "frontpage" template for the created page or just the "default template"?

Pretty sure I can figure how to manage from there after you provide answers to the above. Again, thanks for all your support, I know I've asked tons of questions and you guys are great with response!
User avatar
Expert Boarder

GK User
Thu Aug 21, 2014 4:18 pm
Also, link missing here from the NSP shortcode documentation..

Want to go deeper?

The extensive options of our News Show Pro widget are all definable in the shortcode, which allows you to control the number of article showcases, choose whether an image, title, text snippet and read more are displayed and their respective sizes and lengths, and many more options. A full list of available attributes are available here.


If you could include this URL in response also. Thanks Piotr!!

AJ
User avatar
Expert Boarder

GK User
Thu Aug 21, 2014 4:21 pm
Thank you, I've fixed this hyperlink, but generally it's not necessary for you - because in the Creativity there's no frontpage template based on pages, so you need only to know how the shortcode [gknsp] works and that's all.

1. You should create a new page, add some content and then you can put the shortcode with the proper attributes (use the text editor - not visual).
2. Use default template.
User avatar
Moderator

GK User
Thu Aug 21, 2014 4:26 pm
Thanks Piotr.. looks like we posted @ same time.. did you have the link with the full set/range of NSP shortcodes?
User avatar
Expert Boarder

GK User
Thu Aug 21, 2014 4:41 pm
Here is the full list of attributes, I'm going to prepare the article or post on our blog about this shortcode:

Code: Select all
'title' => '',
      'widget_css_suffix' => '',
      'use_css' => 'on',
      // data source
      'data_source_type' => 'wp-latest',
      'data_source' => '',
      'json_filelist' => '',
      'xml_filelist' => '',
      'wp_category_list' => array(),
      'woocommerce_category_list' => array(),
      'post_types_list' => array(),
      'orderby' => 'ID',
      'one_per_category' => 'off',
      'order' => 'DESC',
      'offset' => '0',
      'data_source_blog' => '',
      'article_wrapper' => 'default',
      // articles amount
      'article_pages' => '1',
      'article_cols' => '1',
      'article_rows' => '1',
      // links amount
      'links_pages' => '0',
      'links_rows' => '0',
      // paginations
      'article_pagination' => 'pagination',
      'links_pagination' => 'pagination',
      // article format
      'article_format' => 'none',
      // article title format
      'article_title_state' => 'on',
      'article_title_len' => '10',
      'article_title_len_type' => 'words',
      'article_title_order' => '1',
      // article text format
      'article_text_state' => 'on',
      'article_text_len' => '20',
      'article_text_len_type' => 'words',
      'article_text_order' => '2',
      'parse_shortcodes' => 'off',
      // article text format
      'article_image_state' => 'on',
      'article_image_w' => '160',
      'article_image_h' => '120',
      'article_image_pos' => 'top',
      'article_image_order' => '3',
      'article_image_popup' => 'on',
      'article_image_filter' => 'none',
      'article_default_image' => '',
      // article info format
      'article_info_state' => 'on',
      'article_info_format' => '{DATE} {CATEGORY} {AUTHOR} {COMMENTS}',
      'article_info_date_format' => 'd M Y',
      'article_info_order' => '4',
      // article readmore format
      'article_readmore_state' => 'on',
      'article_readmore_order'=> '5',
      // links title format
      'links_title_state' => 'on',
      'links_title_len' => '10',
      'links_title_len_type' => 'words',
      // links text format
      'links_text_state' => 'on',
      'links_text_len' => '20',
      'links_text_len_type' => 'words',
      // links image format
      'links_image_state'   => 'off',            
      'links_image_w' => '80',
      'links_image_h' => '60',
      'links_default_image' => '',
      'links_image_filter' => 'none',      
      'links_image_popup' => 'off',
      'links_image_block_padding' => '',
      'links_readmorelink_state' => 'off',
      // links readmore format
      'links_readmore_state' => 'off',
      'links_readmore_text' => '',
      'links_readmore_url' => '',
      'links_readmore_title_state' => 'on',
      // paddings
      'article_block_padding' => '20px 0',
      'image_block_padding' => '0',
      // cache time
      'cache_time' => '60',
      // Autoanimation
      'autoanim' => 'off',
      'autoanim_interval' => '5000',
      'autoanim_hover' => 'on',
      // Font Awesome
      'fontawesome_state' => 'off'
User avatar
Moderator

GK User
Thu Aug 21, 2014 5:18 pm
Thanks Piotr! I'll stay posted for that :)
I've almost got it working using this code but I want to assign to pull content from a specific category I just created (E.g "food"):

[gknsp cache_time="0" widget_css_suffix="products" article_cols="4" article_rows="2" data_source_type="wp-category" article_text_state="off" article_image_w="350" article_image_h="400" article_image_order="1" article_image_popup="off" article_title_order="1" article_readmore_state="off" article_block_padding="10px 30px 30px 30px"]

I read in your documentation--

Then, to tell NSP exactly which category to take posts from, add this attribute:

wp_category_list="X"


If replaced "X" with "food" but get an error message. I think my placement of
data_source_type="wp-category" wp_category_list="food"
is the problem.. Using my entire code string listed above, where should I place: wp_category_list="food"?? Thanks!!
User avatar
Expert Boarder

GK User
Thu Aug 21, 2014 6:21 pm
Here's the error message--
Warning: implode(): Invalid arguments passed in /home/content/p3nexnas05_data02/18/2131418/html/wp-content/plugins/gk-nsp/data_sources/wp/wp.php on line 64


Here's the code which generated the error message--
[gknsp cache_time="0" widget_css_suffix="products" article_cols="4" article_rows="2" data_source_type="wp-category" wp_category_list="food,uncategorized" article_text_state="off" article_image_w="350" article_image_h="400" article_image_order="1" article_image_popup="off" article_title_order="2" article_readmore_state="off" article_block_padding="0px 7px 64px 7px" image_block_padding="0 0 0px 0" ]


Other than that, I'm good :)
User avatar
Expert Boarder

GK User
Thu Aug 21, 2014 8:45 pm
Does GK NSP always have to be nested at top? Regardless of where I add content; the GK NSP is always nested above content. Is there a code to correct this also? Thanks in advance.
User avatar
Expert Boarder

GK User
Fri Aug 22, 2014 7:06 am
No, You can add your content on your page and then at the bottom add [gknsp] shortcode, generally could you show me this page, when you want to use this nsp shortcode? Maybe it will be easier to use default widget on some area (use widget rules to specify on which pages should be visible) - nsp shortocode is necessary only when you have to add nsp content into your pages.

Regarding your problem with the category:
Please try to use your category id instead of slug:
Code: Select all
wp_category_list="129,206"
User avatar
Moderator

GK User
Fri Aug 22, 2014 2:59 pm
Morning Piotr,

Sure, the page is http://scalesavvy.com/workouts/ It's not complete but I just removed the "Coming Soon" widget so you can view. I want the the NextGEN gallery on top.. then word context, then NSP.

From your mention, seems that I do have the ability to use widgets on pages (I'm using default template)?

I will try the category ID versus the slug (just gotta find how to identify that ha!)

Thanks,
AJ
User avatar
Expert Boarder

GK User
Mon Aug 25, 2014 7:17 am
Hi,

I can't see your website - it's maintenance mode on.

Yes, you are able to use widgets for default pages - in widget rules, you'll have to specify the proper page id or slug.
User avatar
Moderator

GK User
Tue Aug 26, 2014 9:00 pm
Thanks Piotr,

You were correct, the best approach for me on this was a plugin specifically assigned to my "workouts" page. Originally I assumed we could only use widgets on the frontpage, it was a domino effect of bad questions from there :)

For any others w/similar questions...
1. Yes you can add widgets to specific pages (appearance > widgets).
2. 1st, use: http://demo.gavick.com/wordpress/creati ... _areas.png to identify where you want the plugin located (*note: won't display in main body from my testing if you have content already in main body).
3. Next, add widget to selected area.
4. Use your widget rules (no pages except > page > Page ID/Title/slug > add page > save settings)
5. Flush cache.
User avatar
Expert Boarder


cron