- Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Notice: Trying to get property 'comment_author_email' of non-object in /var/html/dev/wp/wp-content/plugins/fv-gravatar-cache/fv-gravatar-cache.php on line 236
joshdelph
MemberWarning: Cannot modify header information - headers already sent by (output started at /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220I am using Pinboard theme for a client site and need to customize the templates so I can only show posts with certain categories on certain pages. I have this figured out and working well. However, when I customize the title of a template, I lose the Javascript functionality. Then, when I apply a standard template, it works as expected. I have tried customizing only the title at the top of the template and it “breaks” the layout.
I am guessing this has to do with a JS file somewhere, but I have no idea what that might be. If anyone has experienced this or can provide some direction, I would be very grateful.
Thank you!!!
AdvertismentDeprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Notice: Trying to get property 'comment_author_email' of non-object in /var/html/dev/wp/wp-content/plugins/fv-gravatar-cache/fv-gravatar-cache.php on line 236Daniel Tara
KeymasterWarning: Cannot modify header information - headers already sent by (output started at /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220The right way to create a template is described here.
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Notice: Trying to get property 'comment_author_email' of non-object in /var/html/dev/wp/wp-content/plugins/fv-gravatar-cache/fv-gravatar-cache.php on line 236joshdelph
MemberWarning: Cannot modify header information - headers already sent by (output started at /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220Daniel…
Thank you for your response. I appreciate the resource you sent me. However, I don’t think I communicated my issue very well.
Basically, I want to take the 4-column blog post template that already exists in the Pinboard theme, but use it for a page that will only show posts from a specific category. However, when I make any change to the template (including simply changing the title within the PHP comment), all of the Javascript goes wonky and the “pinned” layout does work correctly any longer.
I think there may be a setting somewhere in a php or js file that specifically applies JS to specific template names. I may not be explaining this well. I think I will have this site up on a server tonight, so I can send a link.
Thanks for any additional insight you might have.
You must be logged in to reply to this topic.