23 pointsStarting to get into this DEV thingI'm new here
reikob
Member
—
30th January 2011
I created a taxominy called find by:
then made tags for First Name, Last Name, City-Town, (using these as the parent)
I started adding listings and now under the categories only City-Town appears.
I tried to put in an new Tag "test" and that does not show up either.
site is http://npva.org.yourtempsite.com/wordpress
I created a taxominy called find by:
then made tags for First Name, Last Name, City-Town, (using these as the parent)
I started adding listings and now under the categories only City-Town appears.
I tried to put in an new Tag "test" and that does not show up either.
site is http://npva.org.yourtempsite.com/wordpress
6593 pointsLike some sort of WPMU DEV GodExceptionally helpfulLifetime member
Keeper of the Dark Chocolate
—
30th January 2011
#
[edit: Hold on, I misread]
Let's try this again as I got confused. Yu mention that you created content for the Towns listing. Did you create any content using the first name, last name and test tags? I believe wp defaults to not showing a tag if there's no content for that tag.
If that's happening, can you provide the php code you;re using to display that? We can point you in the right direction to override that.
Yes, I did create content for those tags, and they were showing, then the first name tag disappeared, then the last name one disappeared.
Every Listing that I am creating has a "tag" under "find by:"
on each listing I have a tag for city ( city town is parent) and "boston" is child.
I have checked last name and first name child tags of each listing, but they are not showing up in the directory.
Preferred Business has all the categories of Business, but not showing
under Business Web is not showing
under nonprofit: 8 categories are showing and 20 parent categories
Went on Live support with Ivan this morning, no answer, but was told that there will be a new release of directory in the next week. How can I be informed when it is available?
My sincerest apologies for the delay here. The new version of Directory will absolutely be worth the wait though (I've been testing, it and it really rocks!)
There's a couple ways to know when the new version is available. First way would be to have the Update Notifications plugin installed. It'll let ya know automatically in your dashboard: http://premium.wpmudev.org/project/update-notifications
Secondly, we'll be posting a sticky thread at the top of this forum so checking in here you should see a notification about it. We've been working hard on it and it should be available literally any day.
I see that both of the sites mentioned in this support thread are still using the old Directory theme. I think I know how to fix your problems but I first need you to activate the new theme, test things and get back to me with summarized report of what exactly you want the final result to be compared to the state at which you'll be after activating and testing the new default theme.
Has just the new now, and a maximum of 10 categories show, how do I extend that to show all?
You can show more categories by changing the value of the "number" parameter in wp_list_categories() located in the function dp_list_categories() on line 51 from "themes/default/includes/function/theme-function.php". For more information on using wp_list_categories() and all of its accepted parameters please check the function documentation on Codex http://codex.wordpress.org/Template_Tags/wp_list_categories
2nd question, how do I get a full list of the all under each taxonomies (ie a page listing all under "Preferred Businesses"?
In your case "Preferred Businesses" is a taxonomy and a taxonomy is intended for categorizing terms only ( categories, tags, etc ). You can get page listing from terms only, so each category will display all page listings under it. If you make a custom template and you make a foreach loop from all the terms from a taxonomy and then output the page listings under each you can get a full list but this is somehow complex and not in the scope of the plugin.
If you need further assistance, I'll be glad to help.
I have tried to replace number: and when the page loads it is blank, also tried null. I understand that this should work, it just isn't, I am not a programmer, so I don't know what is happening here.
$args = array(
'orderby' => 'name',
'order' => 'ASC',
'show_last_update' => 0,
'style' => 'list',
'show_count' => 0,
'hide_empty' => 0,
'use_desc_for_title' => 0,
'child_of' => 0,
'hierarchical' => true,
'title_li' => "<h2>{$value->labels->name}</h2>",
'number' => 30,
'echo' => 1,
'depth' => 1,
It depends quite a bit on your hosting provider. They are often located in your root directory (though often hidden via ftp). If you're using cPanel then you should be able to open up the file manager and see error_log as a file in your /public_html directory.
You should also be able to contact your web host and say "show me where my php error logs are" and they'll be able to direct you right away.
It's an incredibly valuable resource too - many issues can be resolved quickly by a quick look at this file :)
Let us know if you have any trouble and we'll do our best to assist further.
Here's the errors when I load with changes: I'm not sure what this all means...please help
[18-Mar-2011 12:27:44] PHP Warning: include_once(includes/functions/theme-functions.php) [function.include-once]:
failed to open stream: No such file or directory in /var/www/html/directory/wp-content/plugins/directory/themes/default/functions.php on line 19
[18-Mar-2011 12:27:44] PHP Warning: include_once() [function.include]: Failed opening 'includes/functions/theme-functions.php'
for inclusion (include_path='.:/php/includes:/usr/local/lib/php:/usr/local/php/lib/php') in /var/www/html/directory/wp-content/plugins/directory/themes/default/functions.php on line 19
[18-Mar-2011 12:27:44] PHP Fatal error: Call to undefined function dp_get_taxonomy_vars() in /var/www/html/directory/wp-content/plugins/directory/themes/default/taxonomy.php on line 12
[18-Mar-2011 12:27:47] PHP Parse error: syntax error, unexpected $end in /var/www/html/directory/wp-content/plugins/directory/themes/default/includes/functions/theme-functions.php on line 219
Responses (22)
Keeper of the Dark Chocolate — 30th January 2011 #
[edit: Hold on, I misread]
Let's try this again as I got confused. Yu mention that you created content for the Towns listing. Did you create any content using the first name, last name and test tags? I believe wp defaults to not showing a tag if there's no content for that tag.
If that's happening, can you provide the php code you;re using to display that? We can point you in the right direction to override that.
Member — 31st January 2011 #
Hi DrMike,
Yes, I did create content for those tags, and they were showing, then the first name tag disappeared, then the last name one disappeared.
Every Listing that I am creating has a "tag" under "find by:"
on each listing I have a tag for city ( city town is parent) and "boston" is child.
I have checked last name and first name child tags of each listing, but they are not showing up in the directory.
Member — 2nd February 2011 #
The other option would be if there were a search database option so people could search by name, city, or other keywords.
Member — 2nd February 2011 #
I have this again on another site I am working on:
http://thenon-profittoolbox.com/directory
I entered categories, and not all are showing:
Preferred Business has all the categories of Business, but not showing
under Business Web is not showing
under nonprofit: 8 categories are showing and 20 parent categories
Member — 2nd February 2011 #
and some of the categories not showing in the preferred businesses are assigned to listings.
Member — 3rd February 2011 #
Went on Live support with Ivan this morning, no answer, but was told that there will be a new release of directory in the next week. How can I be informed when it is available?
Very frustrated!
Sales & Support Lead — 6th February 2011 #
HIya reikob,
My sincerest apologies for the delay here. The new version of Directory will absolutely be worth the wait though (I've been testing, it and it really rocks!)
There's a couple ways to know when the new version is available. First way would be to have the Update Notifications plugin installed. It'll let ya know automatically in your dashboard:
http://premium.wpmudev.org/project/update-notifications
Secondly, we'll be posting a sticky thread at the top of this forum so checking in here you should see a notification about it. We've been working hard on it and it should be available literally any day.
Thanks!
Member — 12th February 2011 #
New Directory plug-in did not solve my problem.
Sales & Support Lead — 14th February 2011 #
Hiya,
Sorry this still hasn't been resolved for you. I'm going to ask Ivan to take a look with you.
To summarize the issue, custom post tags originally appeared correctly on your site, but at some point they stopped displaying, is that correct?
Thanks!
Developer — 14th February 2011 #
Hi Reikob,
I see that both of the sites mentioned in this support thread are still using the old Directory theme. I think I know how to fix your problems but I first need you to activate the new theme, test things and get back to me with summarized report of what exactly you want the final result to be compared to the state at which you'll be after activating and testing the new default theme.
Member — 3rd March 2011 #
Hi Ivan,
I'm back,
http://thenon-profittoolbox.com/directory
Has just the new now, and a maximum of 10 categories show, how do I extend that to show all?
2nd question, how do I get a full list of the all under each taxonomies (ie a page listing all under "Preferred Businesses"?
Sales & Support Lead — 8th March 2011 #
Hiya reikob,
You'll have to actually edit the theme - unfortunately it's a rather involved edit that you'll have to keep up after upgrades.
That being said, you can make it happen by editing line 69 of the following:
plugins/directory/themes/default/includes/functions/theme-functions.php
Hope that helps. Just change the number 10 to whatever you like.
Thanks!
Member — 9th March 2011 #
Anytime I try and change anything in that file it breaks the directory.
gives me a server error.
2nd question, how do I get a full list of the all under each taxonomies (ie a page listing all under "Preferred Businesses"?
Developer — 10th March 2011 #
Hi reikob,
You can show more categories by changing the value of the "number" parameter in wp_list_categories() located in the function dp_list_categories() on line 51 from "themes/default/includes/function/theme-function.php". For more information on using wp_list_categories() and all of its accepted parameters please check the function documentation on Codex http://codex.wordpress.org/Template_Tags/wp_list_categories
In your case "Preferred Businesses" is a taxonomy and a taxonomy is intended for categorizing terms only ( categories, tags, etc ). You can get page listing from terms only, so each category will display all page listings under it. If you make a custom template and you make a foreach loop from all the terms from a taxonomy and then output the page listings under each you can get a full list but this is somehow complex and not in the scope of the plugin.
If you need further assistance, I'll be glad to help.
Member — 11th March 2011 #
I have tried to replace number: and when the page loads it is blank, also tried null. I understand that this should work, it just isn't, I am not a programmer, so I don't know what is happening here.
$args = array(
'orderby' => 'name',
'order' => 'ASC',
'show_last_update' => 0,
'style' => 'list',
'show_count' => 0,
'hide_empty' => 0,
'use_desc_for_title' => 0,
'child_of' => 0,
'hierarchical' => true,
'title_li' => "<h2>{$value->labels->name}</h2>",
'number' => 30,
'echo' => 1,
'depth' => 1,
Sales & Support Lead — 14th March 2011 #
Hiya reikob,
If the page loads up blank, this is almost definitely a PHP error. Can you check your error logs and see what is being reported there?
That'll help us diagnose the issue. Your code above looks correct.
Thanks!
Member — 16th March 2011 #
I don't know how to check errors, can you walk me thru that?
Sales & Support Lead — 18th March 2011 #
Hiya reikob,
It depends quite a bit on your hosting provider. They are often located in your root directory (though often hidden via ftp). If you're using cPanel then you should be able to open up the file manager and see error_log as a file in your /public_html directory.
You should also be able to contact your web host and say "show me where my php error logs are" and they'll be able to direct you right away.
It's an incredibly valuable resource too - many issues can be resolved quickly by a quick look at this file :)
Let us know if you have any trouble and we'll do our best to assist further.
Member — 18th March 2011 #
Thanks! I will get back to you!
Member — 18th March 2011 #
Here's the errors when I load with changes: I'm not sure what this all means...please help
[18-Mar-2011 12:27:44] PHP Warning: include_once(includes/functions/theme-functions.php) [function.include-once]:
failed to open stream: No such file or directory in /var/www/html/directory/wp-content/plugins/directory/themes/default/functions.php on line 19
[18-Mar-2011 12:27:44] PHP Warning: include_once() [function.include]: Failed opening 'includes/functions/theme-functions.php'
for inclusion (include_path='.:/php/includes:/usr/local/lib/php:/usr/local/php/lib/php') in /var/www/html/directory/wp-content/plugins/directory/themes/default/functions.php on line 19
[18-Mar-2011 12:27:44] PHP Fatal error: Call to undefined function dp_get_taxonomy_vars() in /var/www/html/directory/wp-content/plugins/directory/themes/default/taxonomy.php on line 12
[18-Mar-2011 12:27:47] PHP Parse error: syntax error, unexpected $end in /var/www/html/directory/wp-content/plugins/directory/themes/default/includes/functions/theme-functions.php on line 219
Member — 19th March 2011 #
I finally got it, figured out the errors, thanks!
Sales & Support Lead — 20th March 2011 #
Woo hoo! Congrats reikob :)
Become a member