holbri
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Dynamic sidebar not working on remote siteI solved the problem by switching to a new host with cpanel and uploading the database via phpmyadmin. The previous upload using the xml wordpress importer was the cause of problem.
Forum: Fixing WordPress
In reply to: Dynamic sidebar not working on remote siteCould the problem be linked to permissions? I did have some struggle in uploading local site to remote server due to permissions.
Forum: Fixing WordPress
In reply to: Dynamic sidebar not working on remote siteA default sidebar appears with activated widgets.
With the child theme I am using a static widget that appears above any dynamic widgets.
The code for sidebar.php.
<?php /** * The sidebar containing the main widget area. * * If no active widgets in sidebar, let's hide it completely. * * @package WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve 1.0 */ ?> <?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?> <div id="secondary" class="widget-area" role="complementary"> <aside id="social-icons" class="widget-clear"> <h3 class="widget-title">Follow SALTWORKS</h3> <ul> <li class="social-twitter"> <a title="Follow Saltworks on Twitter" href="https://twitter.com/SALTWORKS" target="_blank">Twitter</a> </li> <li class="social-facebook"> <a title="Follow Saltworks on Facebook" href="http://www.facebook.com/pages/Atlanta-GA/SALTWORKS-Contemporary-Art/40633780886?v=wall" target="_blank" >Facebook</a> </li> <li class="social-pinterest"> <a title="Follow Saltworks on Pinterest" href="http://pinterest.com/saltworksart/" target="_blank" >Pinterest</a> </li> <?php dynamic_sidebar( 'sidebar-1' ); ?> </div><!-- #secondary --> <?php endif; ?>Forum: Fixing WordPress
In reply to: Dynamic sidebar not working on remote siteI install the wordpress plugin debug this and ran wp_debug.
No errors were log. Very confused in what to look for.Forum: Fixing WordPress
In reply to: Dynamic sidebar not working on remote siteThanks Esmi,
I checked my site’s error log and all I see is a link to a favicon error for today.
[Fri May 03 11:09:36 2013] [error] File does not exist: /usr/local/www/vhosts/saltworksgallery.com/htdocs/blog/wp-content/themes/saltworksChildTheme/favicon.ico/><link rel=I tried enabling WP_DEBUG but nothing is showing up wp_content directory.
Forum: Fixing WordPress
In reply to: Dynamic sidebar not working on remote siteHere is the function calling ‘sidebar-4’
function mychildtheme_setup() { // This theme uses wp_nav_menu() in one location. register_nav_menu( 'secondary', __( 'Footer Menu', 'twentytwelve' ) ); // New widgetized sidebar area for pages register_sidebar( array( 'name' => __( 'Page Sidebar', 'twentytwelve' ), 'id' => 'sidebar-4', 'description' => __( 'Appears on pages only', 'twentytwelve' ), 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => '</aside>', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) ); } add_action( 'after_setup_theme', 'mychildtheme_setup', 11 );Forum: Fixing WordPress
In reply to: Dynamic sidebar not working on remote siteThe sidebar is not being called. It works on my local server but not on remote server. Everything else works but the secondary div is not appearing in page… Is the site not recognizing active widgets?
The call for sidebar from the page template.
<?php get_sidebar( 'page'); ?>The sidebar-page code:
<?php /** * The sidebar containing the main widget area. * * If no active widgets in sidebar, let's hide it completely. * * @package WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve 1.0 */ ?> <?php if ( is_active_sidebar( 'sidebar-4' ) ) : ?> <div id="secondary" class="widget-area" role="complementary"> <?php dynamic_sidebar( 'sidebar-4' ); ?> </div><!-- #secondary --> <?php endif; ?>Forum: Fixing WordPress
In reply to: Comment fields not displaying in blog postsI am using child themes now to customize my wordpress sites and this solved all my comment problems.
Thank you,
BrianThank you Christine
I am at the localhost url and it does not change when I try to login but the server username and password does not work. Getting incorrect password for the username message.
I tried to change the localhost database mysql settings back to server my sql settings which gives me a failure to connect to database on localhost.
Missing a backslash in wp_options on home (line 37). Theme works.
Update: I attempted to login to wp-admin locally to make sure my theme was activated and I received a page not found response with my unstyled homepage.
Forum: Themes and Templates
In reply to: blog post push my sidebar down and sent optin to top of pageI think I need to repost this question as a php code issue. I think my php code for blog page is adding the unclosed div
I did a temp css fix on blog page subscribe form styling by adding a padding top class to optin.
Forum: Themes and Templates
In reply to: blog post push my sidebar down and sent optin to top of pagethanks alchymyth,
I believe it is related to the blog post. My subscribe forms work on the other pages.
I am having all sorts of issues with blog post…styling…comment field wont display…
I posted a test comment an this happen…
http://www.radianceadvisor.com/lounge/2012/10/25/devil-inside/#comment-4
Forum: Fixing WordPress
In reply to: Comment fields not displaying in blog postsDo I need to add custom fields to page?
both the post and blog page has allow comments checked
Forum: Fixing WordPress
In reply to: Comment fields not displaying in blog postsYes, I authorized comments in page and post.