cooljosh3k
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Widget HTML HREF not working?!I was able to work around the issue using an <iframe>.
Forum: Themes and Templates
In reply to: Widget HTML HREF not working?!Thanks Michael. I tried, but this doesn’t work.
Thanks CrouchingBruin. So you cannot use this kind or src address in a widget? It works just fine if I test it on a lone page by itself. Lone page test is here: https://www.tf2tightrope.com/WidgetHTML_01.html
- This reply was modified 8 years, 4 months ago by cooljosh3k.
Forum: Themes and Templates
In reply to: [Bouquet] Create new widget sidebar?I did not add that “widget-area” back in to my sidebar, but removing it solved the issue. Thank you!
You have been so very helpful to me.
Forum: Themes and Templates
In reply to: [Bouquet] Create new widget sidebar?Ah, sorry. Done now. I presume you meant in my style.css file.
Seems a little better, but a tiny amount got clipped of of the navigation area on the right.
Forum: Themes and Templates
In reply to: [Bouquet] Create new widget sidebar?That seems to just force it far down the bottom on the right.
Forum: Themes and Templates
In reply to: [Bouquet] Create new widget sidebar?Close, but it overlaps both the navigation and the content. It is also too high up, as I would prefer it under the navigation, but right of content.
Forum: Themes and Templates
In reply to: [Bouquet] Create new widget sidebar?Right now I left it as below the content. It is currently just saying “test” right at the very bottom.
Forum: Themes and Templates
In reply to: [Bouquet] Create new widget sidebar?Thanks.
I was able to look up previous support and look at the default Boutique files to figure out where to put it.
I was able to modify my child themes style.css:
#content { float: left; width: 70%; }
Which comes close, but it overlaps my navigation area.
I also tried:
</div><!-- #content --> <?php get_sidebar(); ?>
But this puts it below the content.
Is there someway to have it right next to my content area, but also below navigation?
Forum: Themes and Templates
In reply to: [Bouquet] Create new widget sidebar?Yay, just realised I was supposed to add that code to a new sidebar.php file, not functions.php.
sidebar.php now has this:
<?php if ( is_active_sidebar( 'sidebar-aside' ) ) : ?> <div id="secondary-sidebar" class="secondary-sidebar widget-area" role="complementary"> <?php dynamic_sidebar( 'sidebar-aside' ); ?> </div><!-- #primary-sidebar --> <?php endif; ?>
It won’t show up on the right of my blog though, instead it tries to cram it in right under navigation. Also, I notice that my original sidebar that comes with Boutique no longer shows up.
Forum: Themes and Templates
In reply to: [Bouquet] Create new widget sidebar?Reverting that code back to what is was before, fixes the issues:
<?php add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' ); function my_theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); }
Forum: Themes and Templates
In reply to: [Bouquet] Create new widget sidebar?Not sure if related, but I just noticed a new issue with my website. When going via the address “tf2tightrope.com”, my browser end up at “https://tf2tightrope.com/” instead of “https://www.tf2tightrope.com/”.
My website fails to load and ends up with the error message:
Warning: Cannot modify header information – headers already sent by (output started at /home/tftightr/public_html/wp-content/themes/bouquet-child/functions.php:2) in /home/tftightr/public_html/wp-includes/pluggable.php on line 1174
Removing the following fixes the error, but breaks the display of my website:
<?php function my_theme_enqueue_styles() { $parent_style = 'parent-style'; // This is 'twentyfifteen-style' for the Twenty Fifteen theme. wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' ); wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array( $parent_style ), wp_get_theme()->get('Version') ); } add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
Forum: Themes and Templates
In reply to: [Bouquet] Create new widget sidebar?No, it does not show up there.
Based on what you linked, I tried adding the following to the end of my child-theme’s function file:
<?php if ( is_active_sidebar( 'custom_sidebar' ) ) : ?> <div id="sidebar-aside" class="sidebar-aside widget-area" role="complementary"> <?php dynamic_sidebar( 'custom_sidebar' ); ?> </div><!-- #primary-sidebar --> <?php endif; ?>
I don’t know if I got all the ids right, but in any case I just get the following error when viewing my hompage:
Parse error: syntax error, unexpected ‘<‘ in /home/tftightr/public_html/wp-content/themes/bouquet-child/functions.php on line 33
Forum: Themes and Templates
In reply to: [Bouquet] Create new widget sidebar?Okay,
Even with this, I cannot see the new sidebar in customise.
Forum: Themes and Templates
In reply to: [Bouquet] Create new widget sidebar?Come to think of it, I am not seeing these errors just because I am viewing the files directly via a browser, am I?
Forum: Themes and Templates
In reply to: [Bouquet] Create new widget sidebar?Tried a fresh install of TwentySixten and found the following error for https://www.tf2tightrope.com/wp-content/themes/twentysixteen/functions.php
Fatal error: Call to undefined function get_template_directory() in /home/tftightr/public_html/wp-content/themes/twentysixteen/functions.php on line 32
Fresh install of Bouquet gives that same error again. This is without running the child theme.
Hosting Provider was not much use. They said all they could do was tweak PHP settings if I need.