Peyton
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast SEO] How to change titles of search results pageSorry for the delayed response.
1. There is no option to edit the search results page when I’m logged in.
2. Yes, the properties post type title is “Properties separator site title”
3. The search plugin being used is – https://searchandfilter.com/. The search plugin searches the entire website, not just properties. The majority of the results are properties.
Thanks for your help. The Advanced Settings save without any issues. The problem is specific to the Layer Slide. I increased the max_input_vars to 999999 and the problem remains.
how did you fix the problem?
Forum: Fixing WordPress
In reply to: How to sort posts in Alphabetical orderNever mind, I figured it out.
class CategoryPosts extends WP_Widget { function __construct() { $widget_ops = array('classname' => 'cat-post-widget', 'description' => __('List single category posts')); parent::__construct('category-posts', __('Category Posts'), $widget_ops); } // Displays category posts widget on blog. function widget($args, $instance) { global $post; $post_old = $post; // Save the post object. extract( $args ); $sizes = get_option('mkrdip_cat_post_thumb_sizes'); // If not title, use the name of the category. if( !$instance["title"] ) { $category_info = get_category($instance["cat"]); $instance["title"] = $category_info->name; } $valid_sort_orders = array('title'); if ( in_array($instance['sort_by'], $valid_sort_orders) ) { $sort_by = "title"; $sort_order = (bool) isset( $instance['asc_sort_order'] ) ? 'ASC' : 'DESC'; } else { // by default, display latest first $sort_by = 'title'; $sort_order = 'DESC'; } // Get array of post info. $cat_posts = new WP_Query( "showposts=" . $instance["num"] . "&cat=" . $instance["cat"] . "&orderby=" . $sort_by . "&order=" . $sort_order ); // Excerpt length filter $new_excerpt_length = create_function('$length', "return " . $instance["excerpt_length"] . ";"); if ( $instance["excerpt_length"] > 0 ) add_filter('excerpt_length', $new_excerpt_length); echo $before_widget; // Widget title if( !isset ( $instance["hide_title"] ) ) { echo $before_title; if( isset ( $instance["title_link"] ) ) { echo '<a href="' . get_category_link($instance["cat"]) . '">' . $instance["title"] . '</a>'; } else { echo $instance["title"]; } echo $after_title; } // Post list echo "<ul>\n"; while ( $cat_posts->have_posts() ) { $cat_posts->the_post(); ?>
I disabled reCAPTCHA and that fixed the problem
Here’s a link to the page/message
https://diminishedvaluereport.net/member/checkout/?level=6
Right beneath “Account Information”
Forum: Fixing WordPress
In reply to: Strange characters in textDid you export and import the database? This has happened to me several times when switching databases. I’ve found the easiest way to fix this is to either download a plugin like “Find Replace” or doing it directly in the MySQL myphpadmin using this query.
UPDATE wp_posts SET post_content = REPLACE ( post_content, ‘text to find here’, ‘text to replace here’);
In your case you would use this.
UPDATE wp_posts SET post_content = REPLACE ( post_content, ‘a€“’, ”);
Forum: Fixing WordPress
In reply to: Trying to limit how many posts display instead of showing all postsSolved.
<?php query_posts('category_name=blog&showposts=2'); ?>
Forum: Fixing WordPress
In reply to: How to link category post thumbs to full size imagestried that, then nothing appears. Like i said still new at this, trying to figure it out.