Mark
Forum Replies Created
-
Forum: Plugins
In reply to: [LDD Directory Lite] Featured Listing – where to set it?There may be a bigger bug if it’s displaying all your listings on the plugin home page…
Only listings tagged “featured” should be showing up there. Are your listings tagged with anything at all?
Forum: Plugins
In reply to: [LDD Directory Lite] I can't upload the logo in the listingWhen you click on Upload a Logo and select the image, then click Set Featured Image in the bottom right, it doesn’t appear in that metabox?
Forum: Plugins
In reply to: [LDD Directory Lite] number of list itemsThis can be set in the Reading settings on your dashboard, or via an action hook, such as:
function my_set_posts_per_page($query) { if (isset($query->query_vars['listing_category])){ $query->set('posts_per_page', 10); // set this to the desired number } } add_action('pre_get_posts', 'my_set_posts_per_page');I’m adding this as a user setting to the next release, along with adding the appropriate navigation links to the
category.phptemplate (these are currently non-existent and have to be copied from your theme… that was an oversight on my part).Forum: Plugins
In reply to: [LDD Directory Lite] Submitting Form not creating an entryOops. The way I attempted to add the nonce actions to the processor class has backfired, for reasons that become apparent as soon as you look at the hooked functions.
I will do my best to have this fixed and released today.
Forum: Plugins
In reply to: [LDD Directory Lite] I can't upload the logo in the listingI’ll need a little more information on what’s happening to help;
– is this from the submit listing form, or form the dashboard?
– does the listing itself submit and show as pending?
– does everything else seem to work (ie details show up, emails are sent, etc)?
– Does anything show in the logo area on the add/edit listing screen of the dashboard? A broken image or nothing at all?
– Do you see the image in the media library or does it just seem to disappear altogether?Forum: Plugins
In reply to: [LDD Directory Lite] Directory disappeared with newest upgradeThese are actually part of your file system. You’ll find the templates directory in the plugin directory, usually something to the tune of:
/path/to/wordpress/wp-content/plugins/ldd-directory-lite/templatesYou’ll want to copy any files you edit to:
/path/to/wordpress/wp-content/themes/your-theme/lddlite_templatesAlthough you can, I don’t recommend copying all the files; if you only copy the files you edit, you are less likely to miss important updates to the templates the next time the plugin upgrades.
You will need FTP, SSH/shell, or (more likely) a control panel file manager on your host to make these changes.
Forum: Plugins
In reply to: [LDD Directory Lite] Issue with translationsI appreciate the heads up!
You’re right, I did a horrible job of double checking my work on that one and missed quite a few. I made the change to try and standardize where I’m using different prefixes, and to have the i18n be unique from other constructs.
I’ll fix that for the next release.
Forum: Plugins
In reply to: [LDD Directory Lite] Schema.orgI would be stretching the truth if I said the plugin was anywhere close to schema.org compliant. The basis is there, and eventually we’ll be putting a lot of energy into developing that compliance but at the moment getting the features in and making them stable is the biggest goal.
In the interest of making an informed decision, yes there will be a method for bulk uploading in the near future. However it will be a premium extension (though I can’t see it being very high in cost at present).
Forum: Plugins
In reply to: [LDD Directory Lite] Directory disappeared with newest upgradeThis is due to the template, you can probably just remove the call to
get_sidebar()in/templates/category.phpand/templates/single.php(before you edit them, don’t forget to copy these to a directory called lddlite_templates in your theme directory).It’s improbable to build a plugin such as this, that relies heavily on presentation, in a way that will play nicely with every possible theme combination. Generic templates were built in an attempt to integrate with the largest subsection possible, but further customization will be needed in most cases.
Forum: Plugins
In reply to: [LDD Directory Lite] Directory disappeared with newest upgradeYou might need to flush the rewrite rules. Go to Settings >> Permalinks, and click Save Changes. See if that fixes it for you.
Thank you for the kind comments!
Fields that are inherently optional can just be removed — pretty much any field in
/templates/panel-meta.phpcan be removed and the submission process won’t even notice they’re gone.If you need to modify the list of required fields, you can filter
lddlite_submit_required_fields. This filter passes an array of required field names.Note: in the actual HTML form, input names are prefixed with n_, such as n_title. You don’t need to prefix these names in your code as the processor does it for you; so you would refer to n_title as simply title.
Forum: Plugins
In reply to: [LDD Directory Lite] Is there is way to display listing on SidebarIn the future, even when a thread seems to be related to the topic of your question, it would still be best to start a new thread. No harm done, just letting you know.
I’m assuming you’re talking about your themes sidebar in this case; there’s a call to
get_sidebar()in/ldd-directory-lite/templates/category.phpand/ldd-directory-lite/templates/single.phpthat you can remove.Before doing so, it is recommended that you copy these files to a sub-directory of your theme labeled lddlite_templates. That way any changes won’t be overwritten during the next plugin update.
You can compare the plugins
single.phpfile to that of your themes to match it up even further.Forum: Plugins
In reply to: [LDD Business Directory] link to a category listThere’s an importer to bring your existing content over.
Install directory lite and activate it before you remove the old plugin, and navigate over to the new plugin settings screen. You’ll see a message at the top asking if you want to import from the old plugin.
Forum: Plugins
In reply to: [LDD Directory Lite] New 500 errorTry 0.7.3-beta, this fixes the PHP compatibility issues. I tested on 5.2.17 and will continue to do so in the future to try and avoid this.
Forum: Plugins
In reply to: [LDD Directory Lite] create custom fieldsI think I’m with you now. Have you seen this post: http://www.wpbeginner.com/wp-themes/create-custom-single-post-templates-for-specific-posts-or-sections-in-wordpress/
That might help set you in the right direction. Your post was tagged for this plugin (ldd directory lite) which is where most of the confusion came from I think. I don’t believe it will do what you’re trying to do.