jmoseley
Forum Replies Created
-
Forum: Plugins
In reply to: [Perfect Images] retina.js data-at2x attribute optionThank you for the reply. It is similar to the srcset method in that it is an attribute on the img tag, however it is specific for the retina.js script. It does not require you to specify the resolution, it is just a link to the retina version of an image.
Another great addition would be to add the data-no-retina attribute to images that do not have a retina version to prevent all the 404 errors in the logs.
These two items are explained on their github page: https://github.com/imulus/retinajs
Thank you jumbo. I create a bug report. It ended up being an issue with allowing a custom password to be created on registration. So for no I set the option to no and it seems to be working.
The URL to the registration page is https://scottgoodwinassociates.com/emergency-simulation-subscription/. If you enter fake info for the registration and you can select visa with a card number of 4444444444444444, so that you get past the initial popup warning, you can see the bug in action.
Also, I enabled debugging in Safari and the only thing that comes up in the console is CSS issues, but nothing Javascript related.
Forum: Fixing WordPress
In reply to: Query posts from an array of categories and their childrenWhat does your query look like? Are you using category__in? If so, I think you will get the results you are looking for by querying a comma separated cat list. I have not tested this though…
$query = new WP_Query( 'cat=2,6,17,38' );
Forum: Fixing WordPress
In reply to: Category pages override "Blog pages show at most". Possible?If you edit the category.php template file you can do a custom query to get back exactly the number of posts you want. You would put this code just before the loop.
Get back 10 posts from current category
query_posts( array ( 'category_name' => single_cat_title( '', false ), 'posts_per_page' => 10 ) );
Get back all posts from current category
query_posts( array ( 'category_name' => single_cat_title( '', false ), 'posts_per_page' => -1 ) );
Forum: Fixing WordPress
In reply to: Horrible layout of posts, how to fix?Your theme is the likely culprit here. Try switch to the Twenty Eleven or Twenty Ten theme and you will probably see that your posts are laid out properly. If you are in love with your theme then you will want to make edits to the styles.css file and add margin/padding where appropriate.
Also, the break tags is
<br />
with the slash appear at the end, so that is why your breaks are showing up as live text.Forum: Fixing WordPress
In reply to: Editor layout and formatting not reflected on web pageGlad you got it figured out!
Edit the page/post that has the image in it. If you are using the Visual Editor, you can click the image, then click the “Edit Image” icon that will appear on the top left corner. A lightbox will appear, and this is where you can click the “None” button for Link URL.
If you are adding a new image or if you are going to insert a new image from the media library, you click on one of the icons above the editor and the lightbox appears. After uploading an image it will automatically “Show” the full details and you can remove the Link URL and insert into post. If you are browsing for an image from the Media Library tab, you will click “Show” remove the Link URL then insert the image into your post.
Forum: Fixing WordPress
In reply to: Moving Comment AreaI think you might want to try updating your stylesheet by modifying the widths on .post and #comments. Both are set to float left but have a width of 100%.
Forum: Fixing WordPress
In reply to: Editor layout and formatting not reflected on web pageI believe that the image issue may be due to the fact that it has a class of alignnone. It should be alignright. As for the line breaks, I am not quite sure, but it may be that extra line breaks are creating
<p></p>
tags and maybe your style sheet has p tags set to not have and margin or padding. This is just a guess without seeing your site.In the media lightbox if you click the “Show” link you will see the link url. Click the “None” button and that should remove the link.
Forum: Fixing WordPress
In reply to: Help! I screwed up! Can't get on site!If you can access your database you can try to edit the table wp_options changing the option_value to the correct url for siteurl (option_id: 1) and home (option_id: 37)
Forum: Themes and Templates
In reply to: How to remove author?You can just edit lines 65 and 66 in the themes inc/footerH.php file and lines 4 and 5 of inc/footer.php
Forum: Themes and Templates
In reply to: Getting "if is category" to work on child categories as well?Not really sure how you are loading your category links, but here is how you can access the category id or category name that is associated to a post. This way doesn’t require that you know the name in advance.
If you only have one category per post then you could do something like this:
<?php $category = get_the_category(); // use $category[0]->cat_ID or $category[0]->cat_name ?>
Or if you have multiple category per post:
<?php foreach((get_the_category()) as $category) { // Use $category->cat_ID or $category->cat_name } ?>
Forum: Themes and Templates
In reply to: Website not centeredWhat is your url?