benjammin
Forum Replies Created
-
“topics” is the taxonomy for the custom post type ig_topics.
So all of the categories for ig_topics are in topics.
Should “array(‘post’, ‘ig_topics’);” be “array(‘taxonmy’, ‘topics’); ???
I’ve tried a number of different things with the function “wpigw_dropdown_categories” and nothing is showing up, and nothing is breaking either.
Michael I’ve tried to research and figure this out but to no avail. I don’t know PHP enough to workout a proper function for this.
I have found this snippet for Recent Posts widget and it works. It brings in all posts, default and the CPT. But then I thought it might work for the filters you have shared but don’t know enough to get it work. The second code snippet below breaks the site, makes a completely white screen.
/** * Add CPTs to recent posts widget * * @param array $args default widget args. * @return array $args filtered args. */ function wpigw_recent_posts_args($args) { $args['post_type'] = array('post', 'ig_topics'); return $args; } add_filter( 'widget_posts_args', 'wpigw_recent_posts_args');
/** * Add CPTs to recent categories widget * * @param array $args default widget args. * @return array $args filtered args. */ function wp_dropdown_categories($args) { $args['post_type'] = array('post', 'ig_topics'); return $args; } add_filter( 'widget_post_args', 'wp_dropdown_categories');
- This reply was modified 6 years, 1 month ago by benjammin.
Not yet, I hope to give some attention to seeing if these args can work soon.
Forum: Plugins
In reply to: [Custom Post Type Widgets] Does Search and Categories work with CPT UIThis plugin doesn’t work with CPT UI plugin. I added this plugin and the categories and archives show in the sidebar widget but when I select any of them it doesn’t go to what it should go to. Unsupported plugin, doesn’t work, don’t use it.
I did, and the tests are showing but the auto ‘new post’ isn’t sending.
Forum: Plugins
In reply to: [IMPress Listings] Archive Settings > Archive Intro TextThat makes sense, thanks.
Forum: Plugins
In reply to: [MailPoet Newsletters (Previous)] Cron Job not workingWell, Mailpoet recommends Sendgrid, so I got Sendgrid. Mailpoet recommends use either their Pro (paid) cron triggering or set up a cron job yourself on your server, which is what I did because I know how to do this. I’ve followed Mailpoet’s documentation to a “T,” and now automation is not working.
What configuration works Mailpoet?!?
Forum: Plugins
In reply to: [IMPress Listings] Pagination?Here’s the link directly to the page at issue:
The theme being used is Avada.
WP is the latest, so is the agentrevolution plugin.
Forum: Fixing WordPress
In reply to: Pages and Posts throwing HTTP Error 404The problem wasn’t with Genesis, it was with ServerPress. I love and use ServerPress all of the time, but for this one WP installation on ServerPress I had used an ampersand in the dev URL. ServerPress doesn’t like ampersands or some other special characters.
- This reply was modified 8 years, 1 month ago by benjammin.
Forum: Plugins
In reply to: [IMPress Listings] Pagination?Forum: Plugins
In reply to: [IMPress Listings] No Tabs?I’ve now done this. It is the plugin that runs the theme that is causing this. If I turn that one off the whole site goes to shortcodes. With that one turned on as well as the listings plugin, and all of the others turned off, then the problem persists. So, it’s the core theme plugin. It’s a themeforest themefusion plugin that makes the theme operate. Not sure what to do at this point other than rebuild the site with a theme that has little conflicts. The theme is Avada by Themeforest.
- This reply was modified 8 years, 2 months ago by benjammin.
Forum: Plugins
In reply to: [IMPress Listings] No Tabs?Sure, My Website Issue
How do I determine if do have a single-listing.php template already? Where do I look, in the root of the theme or would it be in some directory inside that?
Forum: Plugins
In reply to: [WP Original Media Path] Not uploading to SubdomainOk, I found this post (CLICK HERE) in your support threads, located the “webspace path for scripts” which for me is something like this: /home/primarydomain/public_html/media.mydomain.com/media/images
I added that to upload_path of wp-options of the database by going to phpMyAdmin.
I also added it to “Store uploads in this folder” field of the plugin.The second field of the plugin is the full URL path: https://media.mydomain.com/media/images
Now it works!
Before I found the upload_path and set it, the images I would upload would be an empty image icon, and would get loaded to this year/month default uploads folder. And if I set any uploads folder in the first field of the plugin, the plugin would generate a new upload directory inside the root.
- This reply was modified 8 years, 2 months ago by benjammin.
Forum: Plugins
In reply to: [WP Original Media Path] Not uploading to SubdomainI’ve changed the directories to media/images thinking default naming might be creating a conflict.
I have a subdomain media.mydomain.com and have uploaded all of the images to /media/images/ organized in year/month format respectively.
I am seeing the images in the website, that path to images works.
Any file path that I add into 1.Field of the plugin goes into the root and not the subdomain! It does this every time!
I’ve gone into phpMyAdmin and looked at wp-options for uploads url and it is set to https://media.mydomain.com, but nothing is uploading to https://media.mydomain.com/media/images.
Ok, I can try that and turn on debug. But answer this please, does the image have to be in the same folder as the other resolutions of it, or could I for example add it a couple months later and have the plugin still find it?
What is the plugin actually seeing… the “@2x”
So as long as we have myfilename.jpg and [email protected] and these two could be anywhere in the media library folders and the plugin will still know where to find the retina version?