Forum

 
You must be logged in to post Login Register


Register? | Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Manual

UserPost

7:15 pm
December 26, 2008


Allan-Schmidt

Member

posts 5

1

I have some problems figuring out the serial posts.

Do you have any plans of making some screen dumps with instructions for WordPress or do you know any sites, where I can get an in depth description on how to get it to work for me?

7:39 pm
December 26, 2008


Ade

Admin

posts 1140

2

Hi,

Good idea! I'll post some screenshots shortly.

In the meantime, if there is a speciifc question that you're having difficulty with, please post it and I'll help you out.

Ade.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

11:16 pm
December 26, 2008


Ade

Admin

posts 1140

3

I've just added a tutorial for the Serial Posts plugin which can be found here:

http://www.studiograsshopper.ch/serial-posts-plugin-tutorial/

Ade.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

11:32 pm
December 26, 2008


Allan-Schmidt

Member

posts 5

4

Wow. Very impressive  and I didn't even have time to explain what got me lost.

Well then. Now, that I know I'm the spoiled brat, I will ask for a few more things :)

1)
I suck at php. I mean really suck. Any chance that the plugin will come in a version where I don't need to inset any snippets anywhere?

Furthermore, I could choose if I wanted the serial-text inserted in either top or buttom of the post. That would be awesome.

2)
How are the series styled? Do they take css from the template or something like that?

Even if you don't implement anything, I must give you credit for the fast reply. Kudos

10:29 am
December 27, 2008


Ade

Admin

posts 1140

5

Allan-Schmidt said:

Wow. Very impressive  and I didn't even have time to explain what got me lost.

Well then. Now, that I know I'm the spoiled brat, I will ask for a few more things :)

1)
I suck at php. I mean really suck. Any chance that the plugin will come in a version where I don't need to inset any snippets anywhere?

Furthermore, I could choose if I wanted the serial-text inserted in either top or buttom of the post. That would be awesome.

2)
How are the series styled? Do they take css from the template or something like that?

Even if you don't implement anything, I must give you credit for the fast reply. Kudos


Smile I had been meaning to write a better "how to" – you spurred me on to do it quicker.

1. Sorry, no way to avoid PHP at the moment I'm afraid… You have to paste the <?php serial_posts(); ?> code into your index.php or single.php file (which one you paste it into depends on your theme).

I intend to add a "quicktag" to a future version which means you will be able to insert something directly into the editor when writing a post. I shall add this to the feature request list for the next version.

2. List styling. I have a detailed list of CSS styles which are applied to the list and its heading here:

Serial Posts Configuration page

With this combination of classes and element selectors you should be able to style the list in pretty much any way you choose. You will need to add these classes to your style.css file and add appropriate styling properties etc.

Hope this helps.

Ade.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

12:28 pm
December 27, 2008


Allan-Schmidt

Member

posts 5

6

The quicktag is an even better idea than my top/buttom suggestion. Great.

Sadly, I reckon that I will have to wait for the quicktag to be implemented. I really look forward to your plugin going places as the others series plugins just didn't work for me.

1:10 pm
December 27, 2008


Ade

Admin

posts 1140

7

In the meantime, whilst you wait for an update, post your single.php code here, tell me where you want the list to appear and I'll put the code in for you. Smile

Ade.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

10:11 pm
December 29, 2008


Allan-Schmidt

Member

posts 5

8

Where do I find the single.php file?

11:28 pm
December 29, 2008


Ade

Admin

posts 1140

9

It should be in the folder of your current theme in /wp-content/themes/. Some themes use index.php to display a single post page. So, if you don't have a single.php your theme most likely uses index.php instead. Post whichever one is relevant for your theme.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?

11:53 pm
December 29, 2008


Allan-Schmidt

Member

posts 5

10

The serial plugin should go just below the post text before any comments. That should do it, I think.

This is the content of the index file for my theme.

<?php
/**
 * @package WordPress
 * @subpackage Classic_Theme
 */
get_header();
?>

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

<?php the_date('','<h2>','</h2>'); ?>

<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
  <h3 class="storytitle"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
 <div class="meta"><?php _e("Filed under:"); ?> <?php the_category(',') ?> &#8212; <?php the_tags(__('Tags: '), ', ', ' &#8212; '); ?> <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(__('Edit This')); ?></div>

 <div class="storycontent">
  <?php the_content(__('(more…)')); ?>
 </div>

 <div class="feedback">
  <?php wp_link_pages(); ?>
  <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
 </div>

</div>

<?php comments_template(); // Get wp-comments.php template ?>

<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>

<?php posts_nav_link(' &#8212; ', __('&laquo; Newer Posts'), __('Older Posts &raquo;')); ?>

<?php get_footer(); ?>

1:11 am
December 30, 2008


Ade

Admin

posts 1140

11

Here you go:

<?php
/**
 * @package WordPress
 * @subpackage Classic_Theme
 */
get_header();
?>

<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

<?php the_date('','<h2>','</h2>'); ?>

<div <?php post_class() ?> id=”post-<?php the_ID(); ?>”>
  <h3 class=”storytitle”><a href=”<?php the_permalink() ?>” rel=”bookmark”><?php the_title(); ?></a></h3>
 <div class=”meta”><?php _e(”Filed under:”); ?> <?php the_category(',') ?> &#8212; <?php the_tags(__('Tags: '), ', ', ' &#8212; '); ?> <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(__('Edit This')); ?></div>

 <div class=”storycontent”>
  <?php the_content(__('(more…)')); ?>
  <?php serial_posts(); ?>
 </div>

 <div class=”feedback”>
  <?php wp_link_pages(); ?>
  <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
 </div>

</div>

<?php comments_template(); // Get wp-comments.php template ?>

<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>

<?php posts_nav_link(' &#8212; ', __('&laquo; Newer Posts'), __('Older Posts &raquo;')); ?>

<?php get_footer(); ?>

I've inserted the function call immediately after the post content and before the comments.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?