wdawson
Forum Replies Created
-
Forum: Themes and Templates
In reply to: newest post showing at top of every pageAh yes, I just needed the paged parameter. Thanks a lot to both of you.
Forum: Fixing WordPress
In reply to: Please help – mistyped WordPress address (URL)Otto – thanks. That’s what I was asking for. I ended up defining the urls in wp-config and that works.
Forum: Fixing WordPress
In reply to: Please help – mistyped WordPress address (URL)Ahh that makes sense. It made it seem like changing the wp-config file would also override the database value if “define(‘WP_SITEURL’, ‘https://example.com/wordpress’);” was defined and then would revert back if it wasn’t.
Using phpadmin isn’t the problem, I just happen to know that, due to non-technical circumstances, it will take my system admin more time to give me access to that, if that makes sense.
Forum: Fixing WordPress
In reply to: Please help – mistyped WordPress address (URL)It also notes that the wp-config.php change I mentioned would override the wp_options table value. I don’t doubt the methods you guys are mentioning work, I’m just trying to figure out if I can do this through FTP because that would take less time in my current situation.
Forum: Fixing WordPress
In reply to: Please help – mistyped WordPress address (URL)Thanks so much for the help. The problem is, getting access to phpMyAdmin is going to take longer than getting the right FTP access and I need to do this as quickly as possible. Did changing that field in options actually change the database value? The codex notes that making the change I mentioned in wp-config.php
won’t change the Database value though, and the url will revert to the old database value if this line is removed from wp-config. Use the RELOCATE constant to change the siteurl value in the database.
Could I not change the value in wp-config.php just to be able to gain access and then change the database value back to what it was?
Again, thanks so much. I know I’m making this hard..
Forum: Fixing WordPress
In reply to: Please help – mistyped WordPress address (URL)Sorry to keep adding stuff, but this may help. When I try to get to the login panel, I should need to go to https://wp.xxxxx.net/wp/wp-admin. When I try to do so, I get redirected to
The value for WordPress address (URL) should be wp.xxxxx.net/wp.
I accidentally changed it to xxxxx.org.
Forum: Fixing WordPress
In reply to: Please help – mistyped WordPress address (URL)Sorry dgwyer, didn’t see the last part of your post. That’s the thing, I don’t think I actually moved anything. I know what value I provided in that field, but trying to log in there doesn’t work since the WP install isn’t actually there.
Forum: Fixing WordPress
In reply to: Please help – mistyped WordPress address (URL)I should have FTP access but for some reason I only do to the wp-content directory. Obviously I need to get this worked out with my admin.
Roy – thanks for pointing me to that.
I also found I can change
define('WP_SITEURL', 'https://example.com/wordpress');
in wp-config.php. It notes that this “overrides the wp_options table value for siteurl and disables the WordPress address (URL) field in the Administration > Settings > General panel.”Since that field is the one I changed (WordPress address (URL), it seems like this should work since I didn’t actually move anything, just provided the wrong value in that field. Does that make sense?
Forum: Themes and Templates
In reply to: Conditional offset of postsGreat, thanks. Had checked the codex but hadn’t seen that for some reason.
Forum: Themes and Templates
In reply to: Nav-Menu-Template.phpOK, in that case you’d need to check the css for the class menu-item (or one of the other classes listed).
It should look something like…
.menu-item{ INFO HERE; }
In the info here spot, there will be information indicating how and where that element is positioned. This could include margins, padding, alignment, etc. But, that’s the info you need. Again, I’m not sure I’m understanding the question right, but if I am that should help.
Forum: Themes and Templates
In reply to: Nav-Menu-Template.phpDo you know the name of the element? Look through the stylesheet for that element and that should tell you the positioning… I’m not sure if that’s what you mean though…
Forum: Themes and Templates
In reply to: Help for a superminimalist theme please – Reward ! :-)You’ll want to start with an index.php file along these lines:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="https://www.w3.org/1999/xhtml"> <head profile="https://gmpg.org/xfn/11"> <title>TITLE</title> <style type="text/css" media="screen"> @import url( <?php bloginfo('stylesheet_url'); ?> ); </style> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta name="description" content="put description here" /> <meta name="keywords" content="put keywords here" /> </head> <body> <div class="wrapper"> <?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?> <div class="post"> <?php the_content(); ?> </div> <div class="time"> <?php the_time('F jS Y') ?> </div> <?php endwhile; ?> <?php endif; ?> </div> </body> </html>
Then make a file called style.css with the following:
/* Theme Name: Name Theme URI: https://themeuri Description: desc Version: 1.0 Author: you Author URI: your uri */ .wrapper{ width: 250px } .post{ margin-bottom: 1em; } .time{ margin-bottom: 2em; float: right; }
Forum: Themes and Templates
In reply to: stupid question – what is needed in the <head> tag?Thanks a lot, I mean I basically understand everything there (except for the php which generates the title), I just wanted to make sure I include everything I need to and nothing I don’t.
Forum: Themes and Templates
In reply to: Whole page moves when images are presentAhh didn’t see the fix you included for some reason when I read your response, but it worked perfectly, thanks a lot! What exactly does that code do?
Forum: Themes and Templates
In reply to: Whole page moves when images are presentYep, that’s it alright. So there’s no way around it then? I mean it’s not a huge deal. Thanks so much though, didn’t even think about that.
Thoughts on design btw? It’s my first theme and so far I think I’m relatively happy with it.