henrylemmon
Forum Replies Created
-
Forum: Themes and Templates
In reply to: twentytwelve align img post or pageI can make the queries work localy but when I upload the changes to the server they do not show on the site
Forum: Themes and Templates
In reply to: twentytwelve align img post or pageThank you Andrew, You kept me trying and I see the errors in my ways, so now it works. Let me perfect the exact breakpoints locally and then add them to my site. Then I will set this as resolved.
thanks again
henryLemmon>Forum: Themes and Templates
In reply to: twentytwelve align img post or pageCan you change the float from left to none, on a image that is embedded in a post,and gets its float left property from .alignleft which is located in the style.css in the parent theme by using a media querrie?
here is what i used:
@media screen and (max-width: 480px) { .alignleft { float: none; } }I have this added in the style.css file in my child theme.
I have also added a id to the html in the body of the message that assigns the .alignleft to the element an tried to use the id to change the propertie as well.Forum: Themes and Templates
In reply to: twentytwelve align img post or pageI was under the assumption that media querries only effected background images but not inline img tags, or embeded img tags.??
Forum: Themes and Templates
In reply to: twentytwelve align img post or pageWow that was fast, thank you for your response. can you please read the updated version of my quandry?
Forum: Fixing WordPress
In reply to: How do I exclude category from blog pageHere is the whole story:
- built a child theme
- populated it with posts
- attempted to exclude a category from the main blog page using the code below, so I could use a custom category page for that category only
if ( is_home() || is_archive()) { query_posts($query_string . '&cat=-17&posts_per_page=3' ); }if I use this code, cat 17 is removed from main blog page and archive and you can only see 3 of the latest posts in chronological order. even if you do a search, click on the flowers category you still get the same three posts which are the 3 most recent posts regardless of the search criteria or what you have clicked on.
so if I remove:
&posts_per_page=3
you get all the posts listed in reverse chrono excluding the cat 17 even if you click on flower in the menu or the archives you canot get to flowers
so when I remove
|| is_archive()
and now it readsif ( is_home()) { query_posts($query_string . '&cat=-17' ); }category 17 will be removed from the main blog page, and everything works correctly when I search etc but flowers show up in the archives.
I think that I understand what is going on. You can’t remove a category from the archives, because the archives does not list stuff by category, so unless we associate those specific posts with a group of some sory within archives it may never work
????????????????
henrylemmon>Forum: Fixing WordPress
In reply to: Causing a category to not display on the blog/home pageThank you.
Forum: Fixing WordPress
In reply to: How do I exclude category from blog pageI found out what the problem is, you the above code works on a page but will not work on an archive.
Forum: Fixing WordPress
In reply to: How do I exclude category from blog pageI can exclude the category from the front page successfuly with the code:
<?php if ( is_home()) { query_posts($query_string . '&cat=-6' ); } ?>and then when we navigate to the excluded category I can view all of the posts successfuly, great!
Question:
Now when I navigate to the excluded category I would like to be abled to view only 3 posta at a time (but only in that category), and be allowed to navigate through the category if there is more than 3 posts.So now basically I got that cat off the home page and it has 10-15 posts in it and I only want to see three at a time and be able to navigate through the other posts in that cat.
thank you
henrylemmon>Forum: Fixing WordPress
In reply to: How do I exclude category from blog pageHow would that code block look with taht addition of:
'paged'=> $pagedplaced into:
<?php if ( is_home()) { query_posts($query_string . '&cat=-17' ); } ?>thank you
henrylemmon>Forum: Fixing WordPress
In reply to: How do I exclude category from blog pageOk Hristo,
I will use a plugin. Thank you for following up.
henrylemmon>Forum: Localhost Installs
In reply to: Page Not Found On Changing Permalinks SettingThank you esmi.
I was happy to find out ther was a way to change permalinks without loosing the pagess.now if I could find out how to migrate from local machine to a remote host without having my whole remote database point to my local machine I would be ecstatic
thank you.
Forum: Fixing WordPress
In reply to: How do I exclude category from blog pageOk I made the change and it just ignores the custom query all together now, and runs through all the posts in reverse chronological order.
http://pastebin.ca/2252196henry
Forum: Fixing WordPress
In reply to: How do I exclude category from blog pageThe site is at:
All the category’s are listed on the blog page and the category I am trying to exclude is the gears.
The theme is a child theme I created based on the twentytem theme
This site is just a design I am attempting to create for learning purposes. thanks for your help.
Forum: Fixing WordPress
In reply to: How do I exclude category from blog pageHere is all my code
the suspect code is at the top of the loop.
the code does exclude the category, and it displays the 3 newest posts, but when you use the nav arrows to go to the older posts it appears to cycle through the posts, displaying the same three newest posts until it finally runs through the posts and lands on a 404
I am trying to exclude a category from the blog page so that feature it in a post gallery with a custom category template. it all works, but I can’t get the category excluded from the blog page without buggering the blog display and navigation.
thanks
henrylemmon>