jkovis
Forum Replies Created
-
I don’t have any experience with W3 Total Cache, but have used WP Super Cache with good results before.
That said, you should still look into reducing the number/size of images on your site’s homepage.
Can you confirm that — https://www.ads-software.com/themes/quintus — is the theme you downloaded?
It appears that WordPress is directing the site to load the file quintus.css
— it looks like it’s actually infinite scroll from the jetpack plugin, not WordPress. To test this you can disable jetpack and load the homepage again.
1) Is the file in fact missing, or am I not understanding how CSS works or something (is it perhaps a file that is generated each time, but not present in the actual file system)?
— the file is missing because the URL is malformed
2) If it is missing, is there any way to determine and then change the site to not call on that file?
– Yes, can you search your theme and plugins for the following lines and post that line here?
wp_enqueue_style( 'infinity
3) If it isn’t in fact a missing file, but is working correctly, is there any way to speed it up or at least even it out?
— While the 404’ing css file is slowing down your site content from in the browser, your homepage is also downloading close to 13MB of content which will also slow it down considerably. You might want to investigate using the
<!--more-->
tag in your image heavy posts.Forum: Fixing WordPress
In reply to: Admin Log InI can see https://www.kimberworthpark.org.uk/?page_id=433 so the page is published, but it sounds like your account doesn’t have the administrator level access needed to manage your site’s menus.
For that you’ll probably need to contact either your original developer or hosting provider as @rossmitchell suggested.
Another option is to try resetting the password of the admin account, but I would warn against that unless you’re very comfortable working with phpMyAdmin and/or MySQL.
Forum: Fixing WordPress
In reply to: Admin Log InWhat is the URL of the new page?
Where exactly should the new page appear? Also, might your site use WP menus — https://www.kimberworthpark.org.uk/wp-admin/nav-menus.php?
Forum: Fixing WordPress
In reply to: WordPress show next 3 x number adjacent custom posts from existingHow can I get that SQL Query for you?
If this is a live site then add this before the
if ( $query->have_posts() ) :
line:printf( '<!-- SQL: %s -->', print_r( $query->request ) );
and then view the source code to find the query inside the html comment.
If not, add this before the
if ( $query->have_posts() ) :
line and reload the page:print_r( $query->request ); die();
Forum: Fixing WordPress
In reply to: WordPress show next 3 x number adjacent custom posts from existingCan you post the SQL query (stored in
$query->request
) being generated?Also, what page template are you putting this code in?
Forum: Fixing WordPress
In reply to: WordPress show next 3 x number adjacent custom posts from existingI’d try either using (and probably filtering the SQL generated by) get_next_post() or specifying a date_query parameter to your WP_Query like:
<?php $currentID = get_the_ID(); $query = new WP_Query( array( 'date_query' => array( array( 'before' => $post->post_date, 'inclusive' => true, ), ), 'post_type' => $post->post_type, 'posts_per_page' => 3, 'order' => 'DESC', 'orderby' => 'date', 'post__not_in' => array( $currentID ) ) ); if ( $query->have_posts() ) : ?> <ul> <?php while ( $query->have_posts() ) : $query->the_post(); ?> <li> <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> </li> <?php endwhile; wp_reset_postdata(); ?> </ul> <?php endif; ?>
Forum: Fixing WordPress
In reply to: Mysterious Home PageCan you post a link to your site?
Forum: Fixing WordPress
In reply to: A single post is destroying my sidebar… Why?Go to line 651 of your theme’s style.css file and remove the line that reads “height: 255px”
#sidebar .widget_posts .post_box { display: none; border-width: 0 1px 1px; padding: 5px; height: 255px; }
Forum: Fixing WordPress
In reply to: Display categories as image blocksAre you trying to display all categories on your site? For that, you should probably look at using get_the_category_list.
Here is an updated version of the code from above that checks if the category has already been used:
<?php $used_categories = array(); $categories = get_the_category(); foreach ( $categories as $category ) { if ( !in_array($category->term_id, $used_categories) ) { $link = get_category_link($category->term_id ); echo '<a href='.$link.'>'.$category->cat_name; the_post_thumbnail( 'thumbnail' ); echo '</a>'; $used_categories[] = $category->term_id; break; } } ?>
Forum: Fixing WordPress
In reply to: How can i modify the Add New pagesee add_meta_box
Forum: Fixing WordPress
In reply to: Display categories as image blocksthe_post_thumbnail automatically prints the image tag…try something like:
<?php $category = get_the_category(); if ( isset($category[0]) && !empty($category[0]) ) { $link = get_category_link($category[0]->term_id ); $cat_name = $category[0]->cat_name; echo '<a href='.$link.'>'.$cat_name; the_post_thumbnail( 'thumbnail' ); echo '</a>'; } ?>
Forum: Fixing WordPress
In reply to: Custom Post Type pagination issuesAny particular reason you’re not using the ‘has_archive’ argument instead of trying to display products through a separate page?
Also just noticed that your CPT rewrite slug is the same as the page name…perhaps change it to just product?
Forum: Fixing WordPress
In reply to: Custom Post Type pagination issuesCan you post your call to register_post_type to pastebin.com?
Forum: Fixing WordPress
In reply to: DISASTERIt looks like it’s a permissions issue on the server…probably your best bet is to contact your host and see if they can set the correct permissions.