Shape 5

Wordpress Club Themes => Corporate Response - Club => : Dareyel March 01, 2015, 06:54:14 PM



: Posts/content display
: Dareyel March 01, 2015, 06:54:14 PM
Hi,

Is there way posts to display in columns (f.e. 3 articles in 1 row and 3 columns) or one below each other?

Right Im getting that pagination style, which doesnt look good to me.

Any help would be greatly appreciated, please take look at the picture attached.

Tnx


: Re: Posts/content display
: Tristan Rineer March 02, 2015, 10:22:27 AM
Under "Settings -> Reading" in the admin, you can change the number of posts displayed per page.


: Re: Posts/content display
: Dareyel March 02, 2015, 03:05:04 PM
Thank You Tristan. It was so obvious. Unfortunately it only works if:
 number of articles shown on front page < number of articles :)

Im looking for solution that gets rid off pagination for good? Is it possible?

One more thing, please:
Where can I translate that "Read more" button under the Posts?

WP is already in my language, but it still stands "read more"

Any help would be greatly appreciated, as always. ;)

TY in advance


: Re: Posts/content display
: Tristan Rineer March 03, 2015, 09:32:34 AM
Thank You Tristan. It was so obvious. Unfortunately it only works if:
 number of articles shown on front page < number of articles :)

Im looking for solution that gets rid off pagination for good? Is it possible?

   If you edit theme-globals.php in the theme folder you'll find the following code around line 91, just remove the [pagination] part:
   
   
:
$s5_loop_tags['after_loop'] = '</div></div></div>[pagination]';

One more thing, please:
Where can I translate that "Read more" button under the Posts?

WP is already in my language, but it still stands "read more"

Any help would be greatly appreciated, as always. ;)

TY in advance

That text is located in vertex/loop.php around line 109.

Thanks for catching that, I'll update the Vertex Upgrade Patch (http://www.shape5.com/component/option,com_docman/Itemid,96/task,cat_view/gid,308) to build in the translation.


: Re: Posts/content display
: Dareyel March 04, 2015, 02:43:26 AM
Thank You Tristan, this is very useful forum. :)

1) But, what is point of having "read more" button if posts are showing full texts? excerpts dont function on this template? I turned them on in settings-reading but no avail.
OK, i sorted that somehow with some excerpt plugins

2) Same thing like "read more", where could I translate "Published" in Posts?
Right now Im getting "Published: 25. my language month.2015."

3) Why comment field is not showing below post? I have Comments Area ENABLED. Also looked into settings/discussion, nothing there wrong. Any Ideas?
OK, I found that option in Theme Options under Content Area. :)


: Re: Posts/content display
: Tristan Rineer March 04, 2015, 07:09:14 AM
The "Published" text is also found in theme-globals.php.  It should already be getting translated, but if it's not, you can find it on line 93:

:
$s5_loop_tags['date'] = '<div class="published"> '.__('Published:').' [postdate d M Y] </div>';


: Re: Posts/content display
: Dareyel March 05, 2015, 05:50:20 PM
TY Tristan, this forum is great

One more to go: :)

Been reading documentation, but I cant figure out Login/Register form to work

Am I supposed to do it myself? Via html and text in Login Widget? Or is there easier way?



: Re: Posts/content display
: Tristan Rineer March 06, 2015, 05:04:54 AM
WordPress does not have a Login or Register widget by default, but there are a lot of free plugins that add Login and/or Register widgets; you'll just need to find and install one that you like, and then place the widget in the correct position.


: Re: Posts/content display
: Dareyel March 06, 2015, 11:32:17 AM
Ok, I figured it out, installed login anywhere, does the trick

I believe final question, its fine tuning now:

where can I translate this "search..."..check the pic plz

tnx


: Re: Posts/content display
: Tristan Rineer March 12, 2015, 07:21:36 AM
The search bar text is currently located in vertex/includes/classes/standalone_functions.class.php around line 47.

This is the code you will need to change:
:
$form = str_replace('<input type="text" value="" name="s" id="s" />','<input name="s" id="mod_search_searchword" class="inputbox" type="text" size="35" value="Search..."  onblur="if(this.value==\'\') this.value=\'Search...\';" onfocus="if(this.value==\'Search...\') this.value=\'\';"/>',$form);

Be very careful to change only the "Search..." word, as removing anything around it will break the code.

I will be trying to add translation compatibility to this part of the framework soon.