Skip to content
Permalink
Browse files

Ticket #FP-21 - Re-arranged position of new field

  • Loading branch information...
sharrondenice committed Jan 2, 2015
1 parent 2ae53d2 commit 07151e6e387d3a13a7637ff4c610688ccc8320a2
Showing with 8 additions and 7 deletions.
  1. +1 −1 README.txt
  2. +5 −5 TSP_Easy_Dev.config.php
  3. +2 −1 templates/tsp-featured-posts_shortcode_settings.tpl
@@ -19,7 +19,7 @@ The Software People's (TSP) Featured Posts plugin allows you to add featured pos
Add a `Featured Posts` to posts and pages by using a shortcode inside your text or evaluated from within your theme. You may override page/post `Featured Posts` options with shortcode attributes defined on the plugin's settings page.

* `[tsp-featured-posts]` - Will display posts with the default options defined in the plugin's settings page.
* `[tsp-featured-posts title="Title of Posts" keep_formatting="N" style="color: red;" max_words=10 show_quotes="N" show_thumb="Y" show_event_data="N" show_author="Y" show_date"N" show_private="N" show_text_posts="N" number_posts="5" excerpt_max=100 excerpt_min=60 post_type="post" post_ids="5,3,4" category="0" slider_width="865" slider_height="365 layout="0" order_by="DESC" thumb_width="80" thumb_height="80" read_more_text="more..." before_title="" after_title=""]` - Will override all attributes defined on the plugin's settings page.
* `[tsp-featured-posts title="Title of Posts" keep_formatting="N" style="color: red;" max_words=10 show_quotes="N" show_thumb="Y" show_event_data="N" show_author="Y" show_date"N" show_private="N" show_text_posts="N" number_posts="5" excerpt_max=100 excerpt_min=60 post_class="" post_type="post" post_ids="5,3,4" category="0" slider_width="865" slider_height="365 layout="0" order_by="DESC" thumb_width="80" thumb_height="80" read_more_text="more..." before_title="" after_title=""]` - Will override all attributes defined on the plugin's settings page.

== Installation ==

@@ -113,11 +113,6 @@
'value' => 'N',
'options' => array ('Yes' => 'Y', 'No' => 'N'),
),
'post_class' => array(
'type' => 'INPUT',
'label' => 'Post Class',
'value' => '',
),
'style' => array(
'type' => 'INPUT',
'label' => 'CSS style tags',
@@ -139,6 +134,11 @@
'label' => 'Excerpt length (Layouts #1, #2, #4, #5)',
'value' => 100,
),
'post_class' => array(
'type' => 'INPUT',
'label' => 'Post Class',
'value' => '',
),
'post_type' => array(
'type' => 'INPUT',
'label' => 'Post Type',
@@ -22,6 +22,7 @@
<li>Read More Text: <strong>read_more_text="Continue Reading <span class="meta-nav">&rarr;</span>"</strong></li>
<li>Excerpt Length (Layouts #0 & #3): <strong>excerpt_min="60"</strong></li>
<li>Excerpt Length (Layouts #1, #2, #4[Slider], #5): <strong>excerpt_max="100"</strong></li>
<li>Post Class: <strong>post_class=""</strong>(Example: columns1_3, columns1_2)</li>
<li>Post Type: <strong>post_type="post"</strong>(Options: post, varies)</li>
<li>Post IDs: <strong>post_ids="5,3,4"</strong></li>
<li>Category: <strong>category="0"</strong>(Any category ID, 0 returns all categories)</li>
@@ -49,7 +50,7 @@
</ul>
<hr>
A shortcode with all the options will look like the following:<br><br>
<strong>[tsp-featured-posts title="Title of Posts" keep_formatting="N" style="color: red;" max_words=10 show_quotes="N" show_thumb="Y" show_event_data="N" show_author="Y" show_date"N" show_private="N" show_text_posts="N" number_posts="5" excerpt_max=100 excerpt_min=60 post_type="post" post_ids="5,3,4" category="0" slider_width="865" slider_height="365 layout="0" order_by="DESC" thumb_width="80" thumb_height="80" read_more_text="more..." before_title="" after_title=""]</strong>
<strong>[tsp-featured-posts title="Title of Posts" keep_formatting="N" style="color: red;" max_words=10 show_quotes="N" show_thumb="Y" show_event_data="N" show_author="Y" show_date"N" show_private="N" show_text_posts="N" number_posts="5" excerpt_max=100 excerpt_min=60 post_class="" post_type="post" post_ids="5,3,4" category="0" slider_width="865" slider_height="365 layout="0" order_by="DESC" thumb_width="80" thumb_height="80" read_more_text="more..." before_title="" after_title=""]</strong>
</div>

</div>

0 comments on commit 07151e6

Please sign in to comment.
You can’t perform that action at this time.