Title: sdesigns's Replies | WordPress.org

---

# sdesigns

  [  ](https://wordpress.org/support/users/sdesigns/)

 *   [Profile](https://wordpress.org/support/users/sdesigns/)
 *   [Topics Started](https://wordpress.org/support/users/sdesigns/topics/)
 *   [Replies Created](https://wordpress.org/support/users/sdesigns/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/sdesigns/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/sdesigns/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/sdesigns/engagements/)
 *   [Favorites](https://wordpress.org/support/users/sdesigns/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 31 total)

1 [2](https://wordpress.org/support/users/sdesigns/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/sdesigns/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/sdesigns/replies/page/2/?output_format=md)

 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [get post meta name](https://wordpress.org/support/topic/get-post-meta-name/)
 *  Thread Starter [sdesigns](https://wordpress.org/support/users/sdesigns/)
 * (@sdesigns)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/get-post-meta-name/#post-8647287)
 * How would I use the strreplace to remove the underscore with my code `<?php $
   key="property_type"; echo get_post_meta($post->ID, $key, true); ?>` I have not
   used that before for this
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [get post meta name](https://wordpress.org/support/topic/get-post-meta-name/)
 *  Thread Starter [sdesigns](https://wordpress.org/support/users/sdesigns/)
 * (@sdesigns)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/get-post-meta-name/#post-8647271)
 * I am using the WP Property Plugin and that seams to be the meta value that it
   is in. It does show the value within the admin area not having the _ I just cant
   figure out how to pull that one and not the one with the underscore.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Post Type UI] Custom rewrite slug issue with Single posts](https://wordpress.org/support/topic/custom-rewrite-slug-issue-with-single-posts/)
 *  Thread Starter [sdesigns](https://wordpress.org/support/users/sdesigns/)
 * (@sdesigns)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/custom-rewrite-slug-issue-with-single-posts/#post-8183048)
 * I have looked around and have found a few tutorials on the subject and that is
   why I then tried just the %property-type%/ and removed the properties from in
   front of the slug that is when I got the single post to now work. But I am now
   having issues with the pages showing correctly and am getting the 404 error there
   now.
 * Anyone have an Idea of why this is?
 * Thank you
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Post Type UI] Custom rewrite slug issue with Single posts](https://wordpress.org/support/topic/custom-rewrite-slug-issue-with-single-posts/)
 *  Thread Starter [sdesigns](https://wordpress.org/support/users/sdesigns/)
 * (@sdesigns)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/custom-rewrite-slug-issue-with-single-posts/#post-8182951)
 * Thanks but using the residential as a parent would not work.
 * I have been doing some additional trying of options and if I set the Custom Rewrite
   Slug to just %property-type%/ the custom post type will work fine now with the
   Residential archive at residential/
    and the single posts going to /properties/
   ampersand-maple-cabin/
 * But now I have a new issue I can not view any of my pages I get a 404 error such
   as for the page contact/
    My site permalink settings are custom structure : /%
   postname%/
 * What could be making this happen
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Edit] Not working in wp 4.6](https://wordpress.org/support/topic/not-working-in-wp-46/)
 *  Thread Starter [sdesigns](https://wordpress.org/support/users/sdesigns/)
 * (@sdesigns)
 * [10 years ago](https://wordpress.org/support/topic/not-working-in-wp-46/#post-7684311)
 * Pro.
    I had sent an email in yesterday but had not heard back so I posted here
   as well
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Edit] Not working in wp 4.6](https://wordpress.org/support/topic/not-working-in-wp-46/)
 *  Thread Starter [sdesigns](https://wordpress.org/support/users/sdesigns/)
 * (@sdesigns)
 * [10 years ago](https://wordpress.org/support/topic/not-working-in-wp-46/#post-7684296)
 * Below are the errors I am seeing. It looks like 5 of them. Thanks you for any
   help
 * TypeError: editor.settings.wpeditproKeyValueList is undefined
 * getValues()
    plugin.js:16 <anonymous> plugin.js:32 e() wp-tinymce.php:12 n() 
   wp-tinymce.php:4 B.prototype.init() wp-tinymce.php:12 t/<() wp-tinymce.php:12
   n/this.loadScripts/p/<() wp-tinymce.php:5 n() wp-tinymce.php:4 n/this.loadScripts/
   p() wp-tinymce.php:5 n/this.loadScripts/p/</<() wp-tinymce.php:5 i()
 * TypeError: this.getDoc(…) is undefined
 * B.prototype.getBody()
    wp-tinymce.php:12 acf.fields.wysiwyg.add_events() input.
   min.js:2 <anonymous> input.min.js:2
 * TypeError: editor.settings.wpeditproKeyValueList is undefined
    getValues() plugin.
   js:16 <anonymous> plugin.js:32 e() wp-tinymce.php:12 n() wp-tinymce.php:4 B.prototype.
   init() wp-tinymce.php:12 t/<() wp-tinymce.php:12 n/this.loadScripts/p/<() wp-
   tinymce.php:5 n() wp-tinymce.php:4 n/this.loadScripts/p() wp-tinymce.php:5 n/
   this.loadScripts() wp-tinymce.php:5 n/this.loadQueue() wp-tinymce.php:5 t() wp-
   tinymce.php:12 B.prototype.render() wp-tinymce.php:12 C.execCommand() wp-tinymce.
   php:13 acf.fields.wysiwyg.init() input.min.js:2 <anonymous> input.min.js:2 .each()
   jquery.js:2 n.prototype.each() jquery.js:2 <anonymous>
 * TypeError: this.getDoc(…) is undefined
 * B.prototype.getBody()
    wp-tinymce.php:12 B.prototype.getContent() wp-tinymce.
   php:12 j() wp-seo-post-scraper-341.min.js:1 [18]</J.prototype.getText() wp-seo-
   post-scraper-341.min.js:1 [18]</J.prototype.getData() wp-seo-post-scraper-341.
   min.js:1 bound () self-hosted [253]</z.prototype.getData() wp-seo-post-scraper-
   341.min.js:6 [253]</z.prototype._pureRefresh() wp-seo-post-scraper-341.min.js:
   6 bound () self-hosted d() wp-seo-post-scraper-341.min.js:5 k() wp-seo-post-scraper-
   341.min.js:5 r() wp-seo-post-scraper-341.min.js:5 [253]</z.prototype.refresh()
   wp-seo-post-scraper-341.min.js:6 bound () self-hosted d() wp-seo-post-scraper-
   341.min.js:5 o() wp-seo-post-scraper-341.min.js:5 n() wp-seo-post-scraper-341.
   min.js:5 wp-tinymce.php:12:26948
 * TypeError: this.getDoc(…) is undefined
 * B.prototype.getBody()
    wp-tinymce.php:12 B.prototype.getContent() wp-tinymce.
   php:12 j() wp-seo-post-scraper-341.min.js:1 [18]</J.prototype.getText() wp-seo-
   post-scraper-341.min.js:1 [18]</J.prototype.getData() wp-seo-post-scraper-341.
   min.js:1 bound () self-hosted [253]</z.prototype.getData() wp-seo-post-scraper-
   341.min.js:6 [253]</z.prototype.pluginsLoaded() wp-seo-post-scraper-341.min.js:
   6 [305]</j.prototype._pollLoadingPlugins() wp-seo-post-scraper-341.min.js:10 
   bound () self-hosted
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Cart button missing on Variations](https://wordpress.org/support/topic/cart-button-missing-on-variations/)
 *  Thread Starter [sdesigns](https://wordpress.org/support/users/sdesigns/)
 * (@sdesigns)
 * [11 years ago](https://wordpress.org/support/topic/cart-button-missing-on-variations/#post-6490614)
 * That was it thank you. It had worked till the last update of woo
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Cart button missing on Variations](https://wordpress.org/support/topic/cart-button-missing-on-variations/)
 *  Thread Starter [sdesigns](https://wordpress.org/support/users/sdesigns/)
 * (@sdesigns)
 * [11 years ago](https://wordpress.org/support/topic/cart-button-missing-on-variations/#post-6490569)
 * Sorry. [http://www.adirondackexplorer.org/subscription-center/new-print-subscriber](http://www.adirondackexplorer.org/subscription-center/new-print-subscriber)
 * Thank you
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[All-In-One Security (AIOS) – Security and Firewall] Feature Request: Login Lockdown Whitelist](https://wordpress.org/support/topic/feature-request-login-lockdown-whitelist/)
 *  [sdesigns](https://wordpress.org/support/users/sdesigns/)
 * (@sdesigns)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/feature-request-login-lockdown-whitelist/#post-4296938)
 * Adding this feature would be great as I have the same problem. People keep using
   a cappital letter when it should be lowercase or the reverse then they get locked
   out.
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [pagination isshu with showing posts from custom post types category](https://wordpress.org/support/topic/pagination-isshu-with-showing-posts-from-custom-post-types-category/)
 *  Thread Starter [sdesigns](https://wordpress.org/support/users/sdesigns/)
 * (@sdesigns)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/pagination-isshu-with-showing-posts-from-custom-post-types-category/#post-3693786)
 * Thank you that did it.
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Show recent post from 2 difrnt custom post catigory](https://wordpress.org/support/topic/show-recent-post-from-2-difrnt-custom-post-catigory/)
 *  Thread Starter [sdesigns](https://wordpress.org/support/users/sdesigns/)
 * (@sdesigns)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/show-recent-post-from-2-difrnt-custom-post-catigory/#post-3683153)
 * Thank you I have figured out how to show the post from 3 of my post types catigories
   but I cant get pagination to work with it. When I click on page 2 it goes to 
   page two but shows the same posts as on page one. Thank you for any help.
 *     ```
       <?php
   
       $myquery['tax_query'] = array(
           'relation' => 'OR',
           array(
               'taxonomy' => 'category',
               'terms' => array('outdoor-recreation'),
               'field' => 'slug',
           ),
           array(
               'taxonomy' => 'outtake_category',
               'terms' => array('outdoor-recreation'),
               'field' => 'slug',
           ),
       	array(
               'taxonomy' => 'story_category',
               'terms' => array('outdoor-recreation'),
               'field' => 'slug',
           ),
   
       );
       query_posts($myquery);
   
       ?>
   
       	<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
   
       		<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
               							<div class="metadate"><?php the_time('l, F j, Y') ?></div>
   
       <h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
   
       <div id="featuredimage">
   
       <?php
       if ( has_post_thumbnail()) {
         echo '<a href="' . get_permalink($post->ID) . '" >';
         the_post_thumbnail();
         echo '</a>';
       }
       ?><!-- end featured image --></div>
       					<div class="entry">
                           <?php the_excerpt(); ?>
   
       					</div>
                                        <br class="clearfloat" />
   
       				</div>
   
       	<?php endwhile; ?>
   
       <?php wp_pagenavi(); ?>
   
       	<?php else : ?>
   
       		<h2>Not Found</h2>
   
       	<?php endif; ?>
       ```
   
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [pagination isshu with showing posts from custom post types category](https://wordpress.org/support/topic/pagination-isshu-with-showing-posts-from-custom-post-types-category/)
 *  Thread Starter [sdesigns](https://wordpress.org/support/users/sdesigns/)
 * (@sdesigns)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/pagination-isshu-with-showing-posts-from-custom-post-types-category/#post-3693728)
 * Thank you for the info. I looked at this and added the pagination info to the
   code but it still does not work. It is showing there is a second page of posts
   wich is the right number of them but when I click on it the posts are the same
   as on the first page. My guess is that I am missing somthing in my code any help
   would be great as I have been stumped on this for days now. Thank you
 *     ```
       <?php
       $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
       $myquery['tax_query'] = array(
           'relation' => 'OR',
           array(
               'taxonomy' => 'category',
               'terms' => array('outdoor-recreation'),
               'field' => 'slug',
           ),
           array(
               'taxonomy' => 'outtake_category',
               'terms' => array('outdoor-recreation'),
               'field' => 'slug',
           ),
       	array(
               'taxonomy' => 'story_category',
               'terms' => array('outdoor-recreation'),
               'field' => 'slug',
           ),
         'paged' => $paged
       );
       query_posts($myquery);
   
       ?>
   
       	<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
   
       		<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
               							<div class="metadate"><?php the_time('l, F j, Y') ?></div>
   
       <h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
   
       <div id="featuredimage">
   
       <?php
       if ( has_post_thumbnail()) {
         echo '<a href="' . get_permalink($post->ID) . '" >';
         the_post_thumbnail();
         echo '</a>';
       }
       ?><!-- end featured image --></div>
       					<div class="entry">
                           <?php the_excerpt(); ?>
   
       					</div>
                                        <br class="clearfloat" />
   
       				</div>
   
       	<?php endwhile; ?>
   
       <?php wp_pagenavi(); ?>
   
       	<?php else : ?>
   
       		<h2>Not Found</h2>
   
       	<?php endif; ?>
       ```
   
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Show recent post from 2 difrnt custom post catigory](https://wordpress.org/support/topic/show-recent-post-from-2-difrnt-custom-post-catigory/)
 *  Thread Starter [sdesigns](https://wordpress.org/support/users/sdesigns/)
 * (@sdesigns)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/show-recent-post-from-2-difrnt-custom-post-catigory/#post-3683043)
 * Thank you I have come up with a new code that is working great except for I cant
   get it to just show the one most recent post from the two custom post catigories
   it is showing all the posts.
 * Thank you
 *     ```
       <?php
        $myquery['tax_query'] = array(
           'relation' => 'OR',
           array(
               'taxonomy' => 'adirondack_almanac_category',
               'terms' => array('outdoor-recreation'),
               'field' => 'slug',
           ),
           array(
               'taxonomy' => 'outtake_category',
               'terms' => array('outdoor-recreation'),
               'field' => 'slug',
           ),
       );
       query_posts($myquery);
   
        while( $wp_query->have_posts() ) :
       $wp_query->the_post();
   
        ?>
       ```
   
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Show recent post from 2 difrnt custom post catigory](https://wordpress.org/support/topic/show-recent-post-from-2-difrnt-custom-post-catigory/)
 *  Thread Starter [sdesigns](https://wordpress.org/support/users/sdesigns/)
 * (@sdesigns)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/show-recent-post-from-2-difrnt-custom-post-catigory/#post-3682969)
 * Thank you for that info but it sitll is not working. Bellow is the full code 
   I am using for this. When I use this I get nothing.
 *     ```
       <?php
       $wp_query = new WP_Query(array('showposts' => 1, 'post_type' => array('outtakes&outtake_category=outdoor-recreation','adirondack_almanac&adirondack_almanac_category=outdoor-recreation')));
       while( $wp_query->have_posts() ) :
       $wp_query->the_post();?>
          <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php
       if ( has_post_thumbnail()):
           the_post_thumbnail( 'feed-fixed' );
       endif;  ?></a>
           <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
       <?php echo wp_trim_words( get_the_excerpt(), 20 ); ?>
        <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">>>More</a>
   
       <?php endwhile; ?>
       ```
   
 * If I use just the below code I get the most recent from the two difrnt post types
   but I want to get the most recent post from these two post types but withing 
   the custom post typs catigory of Outdoor-Recreation.
 *     ```
       <?php
             $recentPosts = new WP_Query(array('showposts' => 1, 'post_type' => array('outtakes','adirondack_almanac')));
       while( $recentPosts->have_posts() ) :
           $recentPosts->the_post();?>
   
          <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php
       if ( has_post_thumbnail()):
           the_post_thumbnail( 'feed-fixed' );
       endif;  ?></a>
           <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
       <?php echo wp_trim_words( get_the_excerpt(), 20 ); ?>
        <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">>>More</a>
   
       <?php endwhile; ?>
       ```
   
 * Thank you for your help
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP RSS Multi Importer] Custom Post Types](https://wordpress.org/support/topic/custom-post-types-65/)
 *  [sdesigns](https://wordpress.org/support/users/sdesigns/)
 * (@sdesigns)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/custom-post-types-65/#post-3647380)
 * Actually the ideal thing would be a way to set it so that when it is inputting
   the posts to the custom post types that it would get the category from the feed
   and set it to that category in the custom post type.
 * The feed is [http://www.adirondackalmanack.com/feed](http://www.adirondackalmanack.com/feed)

Viewing 15 replies - 1 through 15 (of 31 total)

1 [2](https://wordpress.org/support/users/sdesigns/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/sdesigns/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/sdesigns/replies/page/2/?output_format=md)