Reaven
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to move a sidebar widget to footer?I added the register_sidebar to the main functions file not to the Vortex functions file. I already made lots of changes to the Vortex files especially the style.css without creating a child theme. :/
Forum: Fixing WordPress
In reply to: How to move a sidebar widget to footer?I actually searched around and added this to the functions.php :
register_sidebar( array( 'name' => __( 'First Footer Widget Area', 'twentyten' ), 'id' => 'first-footer-widget-area', 'description' => __( 'The first footer widget area', 'twentyten' ), 'before_widget' => '<li id="%1$s" class="widget-container %2$s">', 'after_widget' => '</li>', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) );to add a new widget and then went to Appearance > Widgets and saw the newly created widget area named “First Footer Widget Area”. Then I dragged “Meta” to that area but I couldn’t figure out how to make that appear in footer..Anyway actually what I did to solve it was I deleted these divs:
<div class="widget widget_meta widget-widget_meta"> <div class="widget-wrap widget-inside">The ul tags and everything between them stayed and it worked and everything functions fine. Given that I’m a novice with no PHP knowledge I’m still very puzzled about how these codes function. WordPress has a really steep learning curve!
Thanks.Forum: Fixing WordPress
In reply to: How to move a sidebar widget to footer?No, there is no footer-sidebar.php.
Forum: Fixing WordPress
In reply to: How to move a sidebar widget to footer?Ok I wrapped the code. I went to Appearance and removed the Meta widget from the sidebar so it disappeared.
Forum: Fixing WordPress
In reply to: Mobile device doesn't display WP correctlyOk I resolved the issue. 🙂
If anyone encounters the same problem in the future here is what you need to do:You need to set the IP address as the WordPress/Site Address in Settings. For example by default you have http://localhost/wordpress. Apparently the external devices can’t get to the stylesheets and images etc. with localhost address so you go to Settings and replace http://localhost/wordpress with your IP address i.e. http://192.168.1.1/wordpress
Forum: Localhost Installs
In reply to: Creating a wp-config.php file on local serverOk thanks! 🙂
Forum: Localhost Installs
In reply to: Creating a wp-config.php file on local serverYes I’ll be completely testing locally. Once it is completely finished and I make sure everything works fine I’ll transfer it to a live server. So I’ll be setting up the Database name, username, password and host locally and then transfer it?