Coder Social home page Coder Social logo

mikejolley / wp-post-series Goto Github PK

View Code? Open in Web Editor NEW
44.0 44.0 19.0 1.58 MB

Publish and link together a series of posts using a new "series" taxonomy. Automatically display links to other posts in a series above your content.

Home Page: https://wordpress.org/plugins/wp-post-series/

JavaScript 23.98% PHP 71.65% SCSS 4.37%

wp-post-series's People

Contributors

adevade avatar claudiosanches avatar garyjones avatar jeromeip avatar leewillis77 avatar lpmi-13 avatar mikejolley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

wp-post-series's Issues

Redundant series part number

When adding a post to a series, the plugin seems to do two things:

  1. Add a collapsible series browser at the top of each post
  2. Add another series post identifier at the top of each post in italics

series

Both are added automatically, but the second line feels very redundant, as you now have 2 sections at the top of the page that tell you that this is "part 1 of a series..."

Is there a way to get a settings option where that second line (the one in italics) is not prepended to posts automatically? Currently I have to manually delete that line from every series post

Archives page

Is there a plan to add an archives page, e.g. mysite.com/series/series-name?

Assumes series is complete rather than beginning or ongoing

I would expect it to be fairly common for people to want to plan a series with scheduled posts so one rolls out after another over a period of time. The default language used to describe the series identifies the current post's position in the series (1, 2, 3, ...) out of the total number of published posts in the series. So if you have the first post published and 2 more scheduled to be published later, readers see "This is post #1 out of 1 in the "My Series" series."

As the simplest workaround, you can just translate this string to drop the variables and use the series description to explain things to readers. It's still odd to have a series of (seemingly) only one post, however.

The simplest way I can think of to address this is to use "first" instead of "# 1" and do not mention the total when there is only one post published in the series. This may present challenges for languages significantly different than European ones, however.

Additionally or alternatively, any scheduled posts in the series could be counted toward the total, and the date of the next one to be published could be displayed:

"This is the first of 5 posts in the "My Series" series. The next post in this series, "How to Create a Series of Posts," will be published on June 30."

get_option( 'date_format' ) not working

Hi Mike,

I'm using WP Post Series since today on a german blog.

Unfortunately the date given in the Info-Box above the content isn't correct, although the correct date format is configured in the Admin-Panel - see attached pictures.

2015-12-28_17-45-02
2015-12-28_17-46-51

Any ideas on this?

(The .po-File is still not working, I've translated it in the PHP-Code for now - see Issue #8 on this project.)

Unpublished posts visible in the series

If a post that is still not published is assigned to a series it will be visible in the list but not clickable. It would be better to not show it at all.

creates php error when the_content filter is used outside of posts

If the content is used outside of the loop - to filter text in plugins/ widgets/ whatever - the plugin creates a php error.

The problem happens in the add_series_to_content method where it's checking the global $post variable - which is null since the content isn't in the loop.

To fix locally I changed line 219 to this:

if ( empty( $post ) || 'post' !== $post->post_type || ! is_main_query() ) {

Post Series Block Renders Twice

Hi there,

Trying out your plugin, but I'm running into an issue where the Post Series Block is prepended to my post twice at the top and twice at the bottom.

And it's worth noting that the first block in both pairs doesn't display the list of posts, even when expanded.

image

image

Any idea why this is happening?

Also, are there any settings I can use to force the block to render already expanded?

Can't Rearrange Series

Once I Create multiple pages with a series it automatically shows that & it's working perfectly. But let's say in between 10 pages I want to add a new page in position 5 that I can't do. I guess Author should also have the ability to do that.

Not Showing Up on Other Post Types

This feature doesn't appear to show up for non "post" types... we have a custom post type, but this option doesn't appear there. This appears to be a bug.

French translation not working after using the POT file

Hi Mike,

Thank you for your plugin, it's really nice and easy to use. I've been translating a few themes and plugins for a few years and I've decided to translate your plugin into French. However, despite creating the fr_FR.po and .mo files by using the POT file you made available, the plugin keeps being stuck in English. The two .po and .mo files have been uploaded to the "languages" folder.

Am I doing something wrong ? Below is the content of the .po file (it's still a draft). I've used Poedit to create it.

Bests,

K

msgid ""
msgstr ""
"Project-Id-Version: WP Post Series 1.1.0\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/wp-post-series\n"
"POT-Creation-Date: 2015-12-03 14:18+0100\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2015-12-03 14:26+0100\n"
"Language-Team: \n"
"X-Generator: Poedit 1.8.6\n"
"Last-Translator: \n"
"X-Poedit-Basepath: .\n"
"X-Poedit-KeywordsList: __;_e;_x\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPath-1: ..\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"Language: fr_FR\n"

: ../templates/series-box.php:9

msgid "This is post #%d of %d in the series “%s”"
msgstr ""
"Cet article est le n° #%d sur %d dans la série “%s”."

: ../wp-post-series.php:57 wp-post-series.php:58

msgid "Post series"
msgstr "Série d’articles"

: ../wp-post-series.php:66 wp-post-series.php:160

msgid "Series"
msgstr "Série"

: ../wp-post-series.php:69

msgid "Search %s"
msgstr "Rechercher %s"

: ../wp-post-series.php:70

msgid "All %s"
msgstr "Tous les %s"

: ../wp-post-series.php:71

msgid "%s"
msgstr "%s"

: ../wp-post-series.php:72

msgid "%s:"
msgstr "%s :"

: ../wp-post-series.php:73

msgid "Edit %s"
msgstr "Modifier %s"

: ../wp-post-series.php:74

msgid "Update %s"
msgstr "Mettre à jour %s"

: ../wp-post-series.php:75

msgid "Add New %s"
msgstr "Ajouter une nouvelle %s"

: ../wp-post-series.php:76

msgid "New %s Name"
msgstr "Nouveau nom de %s"

: ../wp-post-series.php:180

msgid "N/A"
msgstr "N/A"

: ../wp-post-series.php:203

msgid "Show all series"
msgstr "Montrer toutes les séries d’articles"

. Plugin Name of the plugin/theme

msgid "WP Post Series"
msgstr "WP Post Series"

. Plugin URI of the plugin/theme

msgid "https://github.com/mikejolley/wp-post-series"
msgstr "https://github.com/mikejolley/wp-post-series"

. Description of the plugin/theme

msgid ""
"Lets you setup a simple series of posts using taxonomies. Posts within a "
"series will show an information box above the content automatically with "
"links to other posts in the series and a description."
msgstr ""
"Permet de créer simplement une série d’articles en utilisant les "
"taxonomies. Les articles d’une série afficheront automatiquement une "
"boîte d’information au-dessus du contenu avec des liens vers les autres "
"articles de la séries ainsi qu’une description."

. Author of the plugin/theme

msgid "Mike Jolley"
msgstr "Mike Jolley"

. Author URI of the plugin/theme

msgid "http://mikejolley.com"
msgstr "http://mikejolley.com"

pt_BR Translation

Hello,
Just translated the plugin to Brazilian Portuguese in the official WordPress Plugin page. Can you please approve it?
Thank you.

(Greate plugin by the way)

No more shortcodes?

Was the option to add it via shortcode removed?

Any page builder other Gutenberg can only make use of this plugin via shortcodes. That's exactly how I was using it until the current version when shortcodes were apparently removed.

Is there any chance that shortcodes could be reinstated?

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.