Support » Plugin: Easy Photography Portfolio » Adding plugin to a custom theme

  • Resolved rumblz

    (@rumblz)


    Hi,

    I’m currently working on a custom theme for my WordPress website. I’ve done a lot so far and have done a lot of research and I know my theme is not 100% completely done. I’ve installed this plugin and have gotten it to work with the pre installed themes that come with WordPress. However on my custom theme the only things that show up are the text I include in the Portfolio posts, the galleries are not showing. The code is showing in the source code, but it is not being displayed on the browser. Would you have any idea what I need to include into my theme in order for this to work? Please dont hesitate to ask for my details you may need in order to help me!

    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • I also wanted to mention I’ve already added the wp_head() and wp_footer() hooks to my theme.

    Plugin Author Norris

    (@justnorris)

    Hi there,
    I need to see a live problem to be of any help. There is an infinite list of possibilities that could go wrong, so I just can’t guess what the issue is. I need to see a live demo of the problem, and possibly access to the theme source code as well.

    Is your theme coded to WordPress theme standards?

    Hey,

    Sorry for the late reply; I had some stuff going on. Thanks for your quick reply.

    Anyways, so the problem occurs whether from my made from scratch theme or using a generated one such as Components generator by Underscore. My coding is not the best and its probably not up to WP standards 100%, but I hope you can help with this issue. Console shows errors, but I’m not sure what to do with it.

    http://www.eillenevalencia.com/portfolio/test/

    Thanks for any help in advance!

    Plugin Author Norris

    (@justnorris)

    I’m not enqueuing jQuery from the plugin 😱

    Sorry about that – I’ll fix it in the next update. To fix that for yourself, right now – all you need to do is to enqueue jQuery before the plugin.

    add_action( 'wp_enqueue_scripts', function(){
      wp_enqueue_script('jquery')
    }, 5 );

    Where should I put insert that code? Sorry, like I said I’m not that pro at coding xD. I gotta run to work right now so I cant test it right now. However this may not be related or might cause some other error, but with another plugin I was getting an error, “Uncaught ReferenceError: jQuery is not defined.” I hope when I get a chance to test your fix I dont get something similar to that. I’ll let you know when I get back home.

    Thanks!!!

    Plugin Author Norris

    (@justnorris)

    Just hang on tight – I’ll release an update within the next week or so.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.