Forum Replies Created
- 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
ZachMatthews
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 220Hey guys –
I’ve been trying to get the slider to work not just on the top-level or parent pages of the blog, but also on lower-level or child pages.
My site is here:
http://www.itinerantangler.com/blog/podcasts/
On that top level page the slider (which I have moved to the header) works as intended. But on child pages *only the first slide* is visible.
I had a workaround that semi-worked; I simply cut and pasted the javascript for the working header from the parent page into the header.php so it was reproduced on all pages. But that screwed up certain functions from wp_head (mostly on my bbPress installation).
Bottom line question: *is there a way to enable the slider for ALL pages of the blog?*
Thanks a lot!
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 236ZachMatthews
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 220Got it to work. I copied the javascript out of the working page (it’s in the header) and pasted it into the header.php script above the final header tag. I’m having trouble making the code post here but email me or just examine your own source on a working page to find the right script to add.
Zach
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 236ZachMatthews
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’ve seen several links over to my site from here, so I thought I would post a follow up.
I was able to get Pinboard working with bbPress. Here’s an explanation I sent to someone who wrote me, as well as my custom CSS (some of which will be irrelevant but you can study it and see what I did):
Set Pinboard to 2 content columns, 2 Boxes Sidebar Columns, and 4 Footer Columns. Choose the first (farthest left) “Preferred Layout” option.
Now, this is obviously going to dictate the look of the rest of your site. I got around that by doing a three-tier Multisite layout. It’s not hard to set up but it is a pain in the ass to have to re-install Pinboard and re-set every single option so the site is all the same, but that gives you the flexibility to have multiple different layouts and formats all within the same blog. I actually have one blog running my Blog, Articles, Podcasts, Video and About pages, then a second blog running my Photoblog database (which keeps the posts separate), and then finally the third blog running only bbPress. However, user profiles are integrated in a multisite so people stay logged in throughout the environment.
One more thing to note: I moved the slider feature to my header by putting the slider section of the functions.php file actually in my search.php page, then deleting all other content from search. (My site only has search on the forums page). That makes the slider get called on each page first and you can tweak the menu layout and stuff to make it all appear up top. The only catch is the slider itself only works on the first page of a given blog (so it works on three of my pages). Everywhere else it is a static image, dictated by the oldest image chronologically amongst the slider pictures.
Here’s my CSS:
#slider .entry-title a {
display:none;
}
.flex-direction-nav, .flex-pauseplay {
display:none;
}
#bbpress-forums iframe, #bbpress-forums embed {
max-width: 640px !important;
height: 480px
!important;
margin-left: 0px
!important;
}
fieldset {
border: 0;
}
.fluid-width-video-wrapper {
padding-bottom: 20px !important;
padding-top: 53% !important;
}
.bbp-reply-content {
margin-left: 120px !important;
}
.bbp-topic-content {
margin-left: 120px !important;
}
#bbpress-forums div.bbp-the-content-wrapper textarea.bbp-the-content {
font-size: 15px !important
}
#bbpress-forums {
font-size:14px !important;
}
.bbp-topic-permalink {
font-size: 16px !important;
}.bbp-reply-header a.bbp-reply-permalink {color: #00548c;}
a.button.logout-link {
color:#f1f1f1 !important;
background-color: #111;
}
p {
font-size:14px;
margin-right: 20px;
}
button {
color:#fff !important;
background-color: #555;
padding: 6px 18px !important;
border-style: solid !important;
border-color: #000 !important;
border-width: 1px !important;
border-radius: 5px;
}
input {
border: #9e9e9e 1px solid !important;
border-radius: 5px;
margin: 0 0 8px;
box-shadow: inset 1px 1px 10px rgba(0, 0, 0, .2);
background-color:#FCFCFC;
}
#sidebar-header {
float:none !important;
width: auto !important;
height: auto !important;
margin: 0 !important;
border-top: solid 1px #333 !important;
border-bottom: solid 1px #333 !important
}
#sidebar-header a {
padding:0 !important;
}
#bbpress-forums div.bbp-reply-header {
background-color:#c3c3c3;
}
.bbp-admin-links a {
color:#00548c !important;
}.bbp-admin-links a:hover {
color:#d54e21 !important;
}
#bbpress-forums ul.bbp-replies {
border: 1px solid #ccc;
}
#bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log, #bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log, #bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log {
border-top: 1px solid #ccc;
}
#bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log {
color:#666;
}
#bbpress-forums ul.bbp-reply-revision-log img.avatar {
margin-left: 3px;
margin-right: 3px;
}
.entry-content a img {
padding: 0;
margin-bottom: -3px;
}
.wp-editor-container {
border-color: #aaa #aaa #aaa !important;
}
.quicktags-toolbar {
border-bottom: 1px solid #aaa !important;
}
#bbpress-forums ul.bbp-topics {
border: 1px solid #ccc;
}
.bbp-topics-front ul.super-sticky, .bbp-topics ul.super-sticky, .bbp-topics ul.sticky, .bbp-forum-content ul.sticky {
background-color: #f0f8ff;
!important;
}
#bbpress-forums fieldset.bbp-form {
border: 1px solid #ccc;
}
#bbp_topic_title {
box-shadow: inset 1px 1px 10px rgba(0, 0, 0, .2);
}
#bbpress-forums div.bbp-the-content-wrapper textarea.bbp-the-content {
box-shadow: inset 1px 1px 20px rgba(0, 0, 0, .2);
}
input#bbp_topic_tags {
box-shadow: inset 1px 1px 10px rgba(0, 0, 0, .2);
}
.bbp-forum-title {
font-weight:400 !important;
margin-left: 0px !important;
}
#bbpress-forums div.odd, #bbpress-forums ul.odd {
background-color: #f3f3f3;
}
#access {
background: #333 url(http://www.itinerantangler.com/global/body-bg12.png) repeat top left !important;
padding-left: 0 !important;
padding-right: 0 !important;
}
#access ul {
padding-left: 35px;
}
#bbpress-forums li.bbp-header {
background: #f1f1f1 url(http://www.itinerantangler.com/global/body-bg12.png) repeat top left !important;
border-top: none !important;
width: 100%;
}
#footer-area {
background: #333 url(http://www.itinerantangler.com/global/body-bg12.png) repeat top left !important;
}
.entry-content a:hover {
color: #d54e21;
}
.entry-content a img, #attachment-nav a img {
border: none !important;
box-shadow: none !important;
}
.entry-content a:hover img, #attachment-nav a:hover img {
border: none !important;
box-shadow: none !important;
}
.onecol .onecol .entry-summary, .entry-content {
padding: 20px;
}
.entry-title {
margin-left: 20px;
}
.single .entry-title {
margin-left: 0 !important;
margin-bottom: -10px !important;
}
#bbpress-forums li.bbp-body ul.topic {
border-top: 1px solid #eee;
padding-top: 5px !important;
padding-bottom: 0px !important;
padding-left: none !important;
padding-right: none !important;
}
#bbpress-forums p.bbp-topic-meta {
margin: 0px 0 5px;
}
li.bbp-topic-title {
padding-left: 20px;}
#url, #email {text-indent: 0px !important;}a.bbpl_button {width:25px !important;}
#bbpress-forums li.bbp-body ul.forum, #bbpress-forums li.bbp-body ul.topic {padding-top: 8px;}
#bbpress-forums li.bbp-header {padding-left: 0px !important;}
li.bbp-forum-info {text-indent: 50px;}
#bbpress-forums .bbp-forum-info .bbp-forum-content, #bbpress-forums p.bbp-topic-met {margin: 0px !important;}
#bbpress-forums p.bbp-topic-meta img.avatar {margin-bottom: -3px !important;}
#bbpress-forums div.bbp-template-notice img.avatar {margin-bottom: -3px !important;}li.bbp-header div.bbp-reply-content span#subscription-toggle {margin-right: 10px}
div.bbp-template-notice, #bbpress-forums ul.bbp-replies, #bbpress-forums fieldset.bbp-form {border-radius: 5px !important;}
.quicktags-toolbar {border-top-right-radius: 5px !important; border-top-left-radius: 5px !important;}
#bbpress-forums fieldset.bbp-form input {padding: 3px;}
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 236ZachMatthews
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’ve done this same thing. I suspect the reason the slider doesn’t slide on sub-pages is because the javascript is not being fully loaded. You might be able to put that in the search.php header as well.
Here’s the working slider:
http://www.itinerantangler.com/blog/podcasts/
Note that I have deleted the actual search function from search.php so that the slider sits on the very top of the page.
Here are the non-sliding lower level pages:
http://www.itinerantangler.com/blog/podcasts/category/articles/If anyone was able to make it work full time I’d love to know how.
Thanks!