Mark
Forum Replies Created
-
Forum: Plugins
In reply to: [LDD Directory Lite] Change color of Directory Home Page Search BarThe CSS file that sets the color is included fairly early; you should be able to include a rule in your custom style sheet or your themes style sheet that can override it. You’ll want something to the effect of:
.navbar-inverse { background-color: #xxxxxx; border-color: #xxxxxx; }Forum: Plugins
In reply to: [LDD Directory Lite] Featured Listing – where to set it?I tracked this down, and it was due to my improperly nesting the taxonomy for the featured posts query. This will be fixed in the next release.
A temporary fix fir people using version 0.8.1-beta, you can edit the
ldd-directory-lite/templates/home.phpfiule, and remove everything from line 13 (<?php if (ldl_get_setting('appearance_display_featured')): ?>) to line 25 (<?php endif; ?>) and it will take the section off your directory home page. Don’t worry about copying this template to your theme directory if you are aware of that feature, as you actually will want that change overwritten in future updates.Forum: Plugins
In reply to: [LDD Directory Lite] Listing and listings page squeeze out sidebarActually the CSS seems to be fine in this case, it’s a template/HTML issue actually. Here’s the process in a nutshell;
1. Copy the template file you’re going to edit, so that it won’t be overwritten when the plugin updates.
Source:
/wp-content/plugins/ldd-directory-lite/templates/category.php
Destination:/wp-content/themes/your-theme/lddlite_templates/category.php2. Open the file for editing, wrap the entire
<section>body and call to<?php get_sidebar(); ?>with<div id="blocks-wrapper" class="clearfix"> ... </div>3. Add the following classes to the
<section>: “eleven columns” so your tag with attributes should look like<section id="primary" class="site-content directory-lite eleven columns">Give that a try.
It also looks like one of you plugins is loading its own copy of bootstrap. You may be able to exclude the directory from loading a copy by turning it off in the directory settings. If you turn it off and things don’t look right, turn it back on; if you turn it off and nothing seems to change, leave it off.
Forum: Plugins
In reply to: [LDD Directory Lite] Bulk uploadingNot yet. This is actually something we are looking at expediting, however I can’t at the present give you a solid timeline. I can only say that it is coming.
Forum: Plugins
In reply to: [LDD Directory Lite] Category name and slug on listingget_queried_object()might work for you?$obj = get_queried_object(); $name = $obj->name; $slug = $obj->slug;As for the permalink structure, it’s definitely possible, but it would require a bit of custom programming which is wildly outside the scope of the project as it currently stands. Let me know if I can help with anything else!
Forum: Plugins
In reply to: [LDD Directory Lite] listing pageBy clicking “Save Settings” on either the WordPress Settings >> Permalinks screen, or the directories settings screen (general tab), rewrite rules will get flushed and should fix the problem.
They’re both custom taxonomies, actually. You can use
get_term()or in this case it would probably be easier to useget_term_by(). Each taxonomy is represented by a constant;LDDLITE_TAX_CAT (listing categories)
LDDLITE_TAX_TAG (listing tags)So you’d do something like this:
$term = get_term_by('name', 'Restaurant', LDDLITE_TAX_CAT); echo $term->count;You can see more options for
get_term_by()here: http://codex.wordpress.org/Function_Reference/get_term_byForum: Plugins
In reply to: [LDD Directory Lite] CSSThe plugin css is all contained within the
/ldd-directory-lite/public/cssdirectory, however I would recommend adding changes to your theme’s stylesheet where they won’t be overwritten when the plugin updates.tekgirl, could you link me to an example of what you’re having trouble with?
Also, on the side, if you could start new threads for new questions; that would help us keep each issues contained so we know when they’ve been resolved. Thanks!
Forum: Plugins
In reply to: [LDD Directory Lite] Shortcodes Available?If you edit
home.phpin/plugins/ldd-directory-lite/templates(you can move this file, alone, to/themes/your-theme/lddlite_templatesotherwise it will be overwritten when the plugin updates), remove the call toldl_get_headeron line 3:<?php echo ldl_get_header(); ?>This will display only the categories with no bar at the top.
Line 39 of
/ldd-directory-lite/ldd-directory-lite.phpdefines LDDLITE_NOLOGO. Change this to an empty value for starters;define('LDDLITE_NOLOGO', '');You’ll then have to make adjustments to either the CSS or possibly just the templates (in
/ldd-directory-lite/templates) to remove the empty space you will wind up with on some screens.Right now you would have to remove the
is_user_logged_in()checks at various points of the submission process, and you would have to supply a$user_idinldl_submit_generate_listing(). This would mean all listings would be owned by the same user and you would lose the ability to allow people to manage/update a listing on their own.Forum: Plugins
In reply to: [LDD Directory Lite] I can't upload the logo in the listingThat’s something I’ll have to look into closer.
Have you tried disabling other plugins just to make sure it isn’t a conflict (if you can)? I ask because the featured image functionality is native to WordPress. The plugin doesn’t alter or extend it in any way, short of changing the labels via gettext.
Forum: Plugins
In reply to: [LDD Directory Lite] Print Category Slug<?php echo get_queried_object()->slug; ?>Should work!
Forum: Plugins
In reply to: [LDD Directory Lite] Three Listings Per CategoryFrom your dashboard, navigate to Settings >> Reading and look at the setting for Blog pages show at most. Is that set to three by chance?
Forum: Plugins
In reply to: [LDD Directory Lite] I can't upload the logo in the listingCan you set featured images on posts or pages?