• Resolved Lennart

    (@lennart5)


    Hi everybody!
    I’m working on a website that’s using the WPZOOM Digital theme. On the front page of the website (www.bananagun.nl), a slider, a portfolio and a few blog items are displayed. My client wants to change this: the portfolio can stay as it is, but they want to have the blog items displayed in the slider.
    I tried doing this by copying the ‘Portfolio’ custom post type and changing all instances of Portfolio to Slideshow (and portfolio to slideshow) and then telling the slider to look for slideshow posts instead of portfolio posts. However, as soon as I copy the custom post type (I tried pasting it in custom-post-types.php – where the Portfolio post type also is declared – and functions.php), I get the blank screen of death. Would anyone know how I can tackle this problem?
    Thanks!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    You just have a PHP error of some sort. You can check your error log to see what it is, or define WP_DEBUG as true in wp-config.php. What and where the error is will be a good clue on how to fix it.

    Thread Starter Lennart

    (@lennart5)

    Thanks a lot! This helped me pinpoint and solve the error.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Duplicate post type’ is closed to new replies.