jpSimkins
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: upload mediaWhat exactly is the error? It helps to know at least what it says was wrong. Even if it’s just
error:
Forum: Fixing WordPress
In reply to: URL and Admin will no longer work. HELP!You could use WP constants to define your site.
This is what I use but you can just hard code these to use your domain.
Put this in your wp-config.php file.
define('WP_SITEURL', 'https://' . $_SERVER['SERVER_NAME'] . '/wordpress'); define('WP_HOME', 'https://' . $_SERVER['SERVER_NAME']);
WP_SITEURL: WordPress location (mine is in a subfolder)
WP_HOME: Site rootForum: Fixing WordPress
In reply to: Change footer text to center of footerNo worries, glad you got it working
Forum: Fixing WordPress
In reply to: Change footer text to center of footerstyle.css line 2494 has:
.copyright { float: left; }
replace that with:
.copyright { text-align: center; }
and remove the one you added to the end of the file
Forum: Fixing WordPress
In reply to: Change footer text to center of footerReplace with this:
<?php if( is_front_page() || is_page_template( 'template-landing-page.php' ) || ( is_home() && ! is_paged() ) ) : ?> <?php get_sidebar( 'footer-wide' ); ?> <?php endif; ?> <div id="footer"> <?php get_sidebar( 'footer' ); ?> <div id="copyright"> <p class="copyright"><?php pinboard_copyright_notice(); ?></p> <div class="clear"></div> </div><!-- #copyright --> </div><!-- #footer --> </div><!-- #wrapper --> <?php wp_footer(); ?> </body> </html>
Don’t forget the CSS edit
Forum: Fixing WordPress
In reply to: Change footer text to center of footercan you please post the content of your footer.php file? Please use the code tag when posting. Ideally, put your original footer back up for now.
Forum: Fixing WordPress
In reply to: Change footer text to center of footerI copied what you provided for the footer.php file. If that is all your footer is, just replace the code with what I provided.
Forum: Fixing WordPress
In reply to: Change footer text to center of footerundo your edit. You broke the closing if statement in the footer.
It seems you aren’t using the two column footer so remove it like this.
This code should work. Don’t forget the CSS edit in the above post.<?php if( is_front_page() || is_page_template( 'template-landing-page.php' ) || ( is_home() && ! is_paged() ) ) : ?> <?php get_sidebar( 'footer-wide' ); ?> <?php endif; ?> <div id="footer"> <?php get_sidebar( 'footer' ); ?> <div id="copyright"> <p class="copyright"><?php pinboard_copyright_notice(); ?></p> <div class="clear"></div> </div><!-- #copyright --> </div><!-- #footer --> </div><!-- #wrapper --> <?php wp_footer(); ?> </body> </html>
It seems you are using a template, I recommend you create a child theme so you can ensure future template updates won’t break your edits.
Forum: Fixing WordPress
In reply to: Change footer text to center of footerOk, first remove the
twocol
class from the p tag in the footer.
Next, update.copyright
to be.copyright { text-align:center; }
Your issue is you are forcing it to 49.9% width and floating left…
Forum: Alpha/Beta/RC
In reply to: 3.5 Beta 3 Load Scripts Error When Enqueuing Media UploadYou could try reading the code. It’s not that hard… smh