Mike
Forum Replies Created
-
Forum: Plugins
In reply to: [Advanced Custom Fields (ACF?)] Taxonomy return bool(false)Did you perhaps change the name of the taxonomy?
Forum: Plugins
In reply to: [Advanced Custom Fields (ACF?)] How to save fields on custom front-end form?I see no reason why you cannot use $_POST[‘fields’][‘field_key’]. ACF’s acf_forms() uses this inside the theme’s functions.php file. Perhaps you could use this somehow:
function my_pre_save_post( $post_id ) { // check if this is to be a new post if( $post_id != 'new' ) { return $post_id; } // Create a new post $post = array( 'post_status' => 'publish' , 'post_title' => $_POST['fields']['field_name'] , 'post_type' => 'posts' , ); // insert the post $post_id = wp_insert_post( $post ); // update $_POST['return'] $_POST['return'] = add_query_arg( array('post_id' => $post_id), $_POST['return'] ); // return the new ID return $post_id; } add_filter('acf/pre_save_post' , 'my_pre_save_post' );
Forum: Plugins
In reply to: [Advanced Custom Fields (ACF?)] Pages useYou can add custom fields using ACF and assign them to a particular page, but out of the box the user will not be able to enter anything in them. You can display the information for them to see, but will need to use get_field(‘field_name’) or the_field(‘field_name’) in a template file.
Forum: Plugins
In reply to: [Redirectioner] Problems with content paginated@pattyland Awesome to hear. I was just having the same issue and now with the “Force current permalinks” option unchecked, everything is working again here.
Make sure you clear out the browsers cache, close the browser, open it back up and re-check.
Firefox: History > Clear History
Chrome: Tools > Clear Browsing DataDefinitely a conflict somewhere. This plugin, while not my first choice, does in fact work as advertised, provided you enter the correct information (i.e. old file / new file locations). Tested and confirmed on a 3.9.1 installation.
If the old domain is still there, you can avoid using any plugins and just add this directly to a .htaccess file in the root folder under the old domain:
Redirect 301 / https://mynewsite.com/
This will redirect the entire site.
Forum: Fixing WordPress
In reply to: WordPress Site redirecting to Adult Friend FinderBut the files are all fresh from a clean download of the files here on www.ads-software.com and compared using known md5s. So you are saying that the host is right and www.ads-software.com is passing around compromised files? I am sure the good folks developing WordPress would be happy to hear that.
Edit: I am waiting to hear back from the head of the hosting company who believes the issue to actually be a compromise of Apache and not the WordPress files
Oh and the issue was still there on the same site with just a plain handcoded html file, so I don’t think the site was compromised.
Forum: Plugins
In reply to: [WP Customer Reviews] show form w/o having to click buttonRather than modifying the CSS for the plugin, add this into your theme’s CSS file to 1) hide the click to submit button and 2) to show the form:
#wpcr_respond_1 p { display:none!important; } #wpcr_respond_2 { display:block!important; }
Forum: Plugins
In reply to: [WP Favorite Posts] User Favorites PHP code?The PHP code is on the installation tab for the plugin:
https://www.ads-software.com/plugins/wp-favorite-posts/installation/Forum: Plugins
In reply to: [WP Favorite Posts] Database requestYou might need to check if the user is logged in with is_user_logged_in():
https://codex.www.ads-software.com/Function_Reference/is_user_logged_inForum: Plugins
In reply to: [WP Favorite Posts] repeated favorite listingI don’t see any duplicates. Have you disabled the plugin?
Forum: Plugins
In reply to: [WP Favorite Posts] Show the favorite icon within the postThis is how I did it for one of the sites I’m using this plugin on:
<?php if (function_exists('wpfp_link')) { wpfp_link(); } ?>
I added this on the same line inside index.php, after the “Posted on” portion.
Forum: Plugins
In reply to: [Custom Content Shortcode] Custom Content CarouselDepending on the price, I might be willing to purchase, as I know how valuable time for this can be. Thank you so very much for pointing me in the right direction.
Forum: Plugins
In reply to: [Custom Content Shortcode] Custom Content CarouselActually I was looking to tie it into the carousel option in the shortcodes ultimate if possible. Basically I’m trying to get a 4 item carousel (4 showing at one time, sliding by 4) for use with the wp-property plugin. I get the desired look using the carousel feature of shortcode ultimate, but only if I use gallery photos only.
Any thoughts on using the loop to fill the shortcodes ultimate carousel with at least featured images from a custom post type?