• Resolved Sizwe Majola

    (@jolisto)


    Where in the code can one make changes to allow for pods with same names. Its unfortunate that my client added a large number of podcasts with the same name. Now those can’t be added.

    Please assist

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author SecondLineThemes

    (@secondlinethemes)

    Hi @jolisto,

    Thanks for your kind review!
    You can find a couple of places where we use the post_exists() function in the code. That’s where we check for existing episodes with the same title and skip those.

    Please let me know if it helps!

    Thread Starter Sizwe Majola

    (@jolisto)

    Thanks, I did manage to find the places but unsure where to bypass that rule.

    Alternatively I also tried it with a different podcasts that don’t have duplicates (but it too stopped after 100 imports – although there were no duplicates by then)

    Thank you for the quick response

    Plugin Author SecondLineThemes

    (@secondlinethemes)

    As long as the different podcast includes different titles, it should work perfectly.
    You can try running the import again if you think some episodes didn’t import. (it can happen that the import times out on some weaker servers.)

    In terms of replacing the code, you’ll find the following line (twice):
    if( 0 === post_exists( $post_title, "", "", $secondline_import_post_type )) {

    You can simply replace it with the following:
    if( true ) {

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Podcasts with the same name can’t imported’ is closed to new replies.