KristinCodesWP
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to display all posts in one category?You never should be making changes in WordPress core files to do anything you want. Reason being is that they will get overwritten with the next WordPress update. To do what you’re trying to do, you’ll want to open the template controlling the category pages within your theme. This could be category.php or archive.php, depending on your theme structure. Look for the beginning of the loop there and above that, put:
<?php global $query_string;
query_posts( $query_string . ‘&posts_per_page=-1’ ); ?>It’s likely inheriting whatever value you have set for posts per page under general. In your $args, try adding:
‘posts_per_page’ => -1
Forum: Fixing WordPress
In reply to: Site not showing in Google search.It takes Google awhile to crawl your site. Make sure your site isn’t blocked from search engine crawling (Settings > Reading, make sure discourage search engine indexing isn’t checked). You can sign up for Google Webmaster Tools (https://www.google.com/webmasters/tools/home?hl=en) and submit your sitemap to decrease the time it will take for Google to index. It’s definitely not an instant thing.
Forum: Plugins
In reply to: [Advanced Custom Fields (ACF®)] ACF and SEO by Yoast conlflictHave you checked to make sure WordPress SEO metaboxes aren’t toggled off under Screen Options? So open an edit screen, go up to Screen Options and make sure WordPress SEO is checked. I use WordPress SEO & ACF together all the time without issue so I don’t think there’s a conflict…
Forum: Plugins
In reply to: [Advanced Custom Fields (ACF®)] Images not loading to field as imagesWith ACF, you have the ability to return the value of an image field in different ways. If you look at the setting of that image field in your field group, you’ll see a “Return Value” option. It looks like based on what you have spitting out that you have it set to return the image field as an image object. If you change that to return the image as a URL, it will spit out the image URL.
You can actually do a ton of things with the image object, though, like grab the alt tag, different media sizes, etc. You just have to call to it differently. I helped put together an ACF tutorial course that just launched on Udemy last night. We’re doing a 50%+ discount right now, may be helpful! We have an entire video about the image field and working with the different return values. It’s here.
Good luck!
Forum: Plugins
In reply to: [Advanced Custom Fields (ACF®)] Does not work in 3.8?I upgraded a couple sites running ACF + some of its add-ons and didn’t have any issues. Everything still pulling to the front end fine & no fatal errors with the add-ons or anything.
Forum: Fixing WordPress
In reply to: Can't access our site or .php admin loginWhere is your site hosted? You should put in a support ticket with them. The fact that you can’t even get into FTP is a big indicator that the problem is likely server-related vs. WordPress.
Forum: Fixing WordPress
In reply to: Gap between header and contentYou have four:
<br/>tags at the top of your div with the ID of text.
Forum: Plugins
In reply to: [Magic Fields] Conflict with Gravity Forms 1.6.10Gravity Forms assigns its “Forms” plug-in to take a certain admin menu position. So if you’re using Magic Fields and you have enough Write Panels to where it hits whatever position that is, something will be missing as “Forms” is taking up its spot and blocking it.
It isn’t really a Magic Fields issue and more in how Gravity Forms sets up it’s admin section positioning. I’ve run into it before on sites with larger numbers of write panels. I’ve usually just set it up to where it’s blocking something I don’t need anyway, like Links. But you can probably reach out to Gravity Forms and find a better patch for it. I just haven’t needed one yet but I’ve seen a similar issue to what you’re describing.
Forum: Fixing WordPress
In reply to: Moving URL problemsPut this in the wp-config.php file:
define(‘WP_HOME’,’http://example.com’);
define(‘WP_SITEURL’,’http://example.com’);Change the appropriate URLs.
Also, your login will still be in the wp/ folder so you’d go to http://www.hobbyfarmers.org/wp/wp-login.php to log-in
Just download the theme you deleted (search Google for the theme name) and pull the code from the header.php file of what you download.
Forum: Fixing WordPress
In reply to: Moving URL problemsIn the index.php file located at hobbyfarmers.org/index.php, find this:
require(‘./wp-blog-header.php’);
change it to:
require(‘./wp/wp-blog-header.php’);
Forum: Fixing WordPress
In reply to: EasingSlider plugin showing all images at onceYou disabled too many scripts. Right now, the slider script is not even in there.
Forum: Fixing WordPress
In reply to: Custom Category ConfusionYou could query the category specifically by doing something like this:
<?php $my_query = "cat=CATEGORYIDNUMBER&posts_per_page=-1"; $my_query = new WP_Query($my_query); ?> <?php if ($my_query->have_posts()) : while ($my_query->have_posts()) : $my_query->the_post(); ?> WHATEVER YOU WANT TO DO TO EACH ITEM IN THE CATEGORY <?php endwhile; // end of one post ?> <?php endif; //end of loop ?>Forum: Fixing WordPress
In reply to: Locked out of admin, site downYou can change it in your wp-config.php file, add these lines there:
define(‘WP_HOME’,’http://example.com’);
define(‘WP_SITEURL’,’http://example.com’);or through one of these alternate routes:
http://codex.wordpress.org/Changing_The_Site_URL