This shortcode is used to display a list of FAQ.

Attributes

Shortcode has several attributes:

  • class: additional CSS class name to add
  • category: one or more categories to filter entries.
  • type: content type to show: ‘all’, ‘video’, ‘nonvideo’.
  • sort_column: the column for sorting articles. The default is ‘name’.
  • sort_order: articles sorting order. The default is ‘ASC’.
  • limit: number of articles per category limit. The default is 4.
  • product: ID of the product to limit the list.
  • bgcolor: background colour for the list. The default is ‘#F4F4F4’.

Articles Sort Column

Sort column supports following values:

  • name: article name
  • ID: article ID
  • date: article publish date
  • comment_count: article comments count
  • rand: random sort
  • none: no sorting

Example

Shortcode:

[gdkob_list_faqs sort_column="rand" sort_order="ASC" type="all" limit="4"]

Output:

What is child theme?

The child theme is a theme that inherits the parent theme. It is a starting point in theme modification processes that will not affect parent theme, and all modifications will go into the child theme. This way you can start with the parent theme and make changes to it by adding all changes into child theme. More about child themes you can find here.

0
0
544
Rate this FAQ answer

You are not allowed to rate this post.

Can I use Dev4Press plugins on WordPress.com hosted websites?

WordPress.com allows installation of plugins only for websites in the WordPress.com Business plan. If you have free WordPress.com website, or you have paid account other then business, you can’t install plugins, and you can’t use Dev4Press plugins.

If you have WordPress.com Business plan, you can install and use Dev4Press plugins with some exceptions: Dev4Press Updater, GD Security Toolbox Pro and GD Press Tools Pro will not work. As for all other plugins, they should work fine. But, all the plugins that do work, can be used from WP Admin panel in the WordPress.com, they can’t integrate into WordPress.com own dashboard or editor.

But, due to the way the WordPress.com works, and the fact that it is a very closed system, we can’t provide support related to the server setup, and we can’t guarantee that all our plugins will work with WordPress.com as expected.

0
0
460
Rate this FAQ answer

You are not allowed to rate this post.

Why rating block alignment is not working?

Alignment for complex HTML elements can be a very tricky issue, and it largely depends on the container and styling it has. The plugin has options to add alignment classes to the rating block, but, these classes don’t include actual styling and they are meant to be styled individually for the theme used.

To center element, that element should have the width set. But, if you set width for the rating block, that block will no longer be responsive. The plugin automatically makes stars smaller for the rating block to fit the current screen with. Having fixed width set for the rating block will prevent the plugin from making it responsive.

You can use CSS for responsive breakpoints to set different widths, but that too depends on the theme (themes usually have different breakpoints and different grid systems), and it is best to style rating block alignment for each individual theme to make sure alignment works for your theme. Also, depending on the theme and the grid system use, there might be some other way to center elements.

Plugin alignment feature is only placeholder class name, styling must be defined for theme.

0
0
2701
Rate this FAQ answer

You are not allowed to rate this post.

Can I translate addon to my language?

Yes. POT file is provided as a base for translation in the root folder for each plugin. Translation files should go into languages directory, and WordPress must be set to your language to load the file. The file name for translated and compiled MO file must be the same as POT file with the addition of language code: {addon-name}-{language-code}.mo.

You can check out this for translating plugins using POEdit program:
wp.dev4press.com/tutorials/translating-plugins-or-themes-using-poedit

4
0
37105
Rate this FAQ answer

You are not allowed to rate this post.

0
0
398
Rate this reference

You are not allowed to rate this post.

Comments

Leave a Reply