cip
Forum Replies Created
-
Forum: Plugins
In reply to: [Enhanced Category Pages] Enhanced content not showingForum: Plugins
In reply to: [Enhanced Category Pages] Enhanced content not showingHi @wpuser!
We have checked and identified the files to be edited in Virtue Premium theme in order to enhance the category pages as desired.
Here they are (click to see the diff):
Note: A very good resource for any WordPress developer/designer/power user is the WordPress Template Hierarchy. As you could see, there, unless
category.php
file is found, then WordPress usesearchive.php
, as it is the case with Virtue Premium theme.PS: You can support open source community with a donation: click here to donate or/and you could share your experience with our plugin: rate ECP plugin.
Forum: Plugins
In reply to: [Enhanced Category Pages] Enhanced content not showing@wpuser, we have received your archive and shall run some tests this week.
Forum: Plugins
In reply to: [Enhanced Category Pages] Enhanced content not showingBy calling
$enhanced_category->setup_ec_data();
the current queried term is identified by using (in order):get_query_var("taxonomy");
get_query_var("term");
get_cat_id(single_cat_title("", false));
This is designed to setup current post to the corresponding enhanced category custom post.
Alternatively, if you have the id of the category (let’s say in $cat_id) you can use calling
setup_ec_data
using id param:$enhanced_category->setup_ec_data($cat_id);
Looking at your code, the best promising place is just above line:
<?php if ( have_posts() ) : ?>
Of course tests should be done on live code.
Forum: Plugins
In reply to: [Enhanced Category Pages] Enhanced content not showing@wpuser Please send your template to our support email: [email protected]
Thank you!
Forum: Plugins
In reply to: [Enhanced Category Pages] Enhanced content not showingHi!
Thank you for choosing our plugin and finding it useful.
Your question is specific to the theme you are using and can be fully answered only with access to that plugin code. Unfortunately we don’t have access to it.
Could you identify the file in your theme that is responsible with displaying the category page?
Thank you!
PS: we have been away, so please accept my apologies for the delayed response.
Forum: Plugins
In reply to: [Enhanced Category Pages] Help with the codeNo problem, I am glad the plugin was useful to you.
Cheers and good luck!
PS: I would greatly appreciate a rating for the plugin.
Forum: Plugins
In reply to: [Enhanced Category Pages] Add catagory images to list of catagoriesThis has been solved so it is being marked as resolved. Cheers!
Forum: Plugins
In reply to: [Enhanced Category Pages] Help with the codeHow did it worked for you?
I am marking this as resolved due to the amount passed since it was opened and being inactive.
Forum: Plugins
In reply to: [Enhanced Category Pages] Help Comment problemDepends on your setup, but this does nothing to do with ECP plugin.
Forum: Plugins
In reply to: [Enhanced Category Pages] Comment page problemHi!
The comments are attached to the custom post the plugin creates and the
wp-comments-post.php
(the script that handles posting comments) redirects to that page, in your case/?enhanced-category=222
In order to solve this, you have to add a hidden field in the comment post form. You can do this by adding some extra arguments when
comment_form
function is called, presumably incomments.php
script in your theme folder.Now the code:
$args = array( 'comment_notes_after' => '<input type="hidden" name="redirect_to" value="' . $_SERVER['REQUEST_URI'] . '" />'); comment_form($args);
Forum: Plugins
In reply to: [Enhanced Category Pages] Question about the code and the correlation tableHi!
We are glad you found our plugin useful.
Here are the answers to your questions:
- initially the Enhanced Category Pages plugin enhanced only categories. As per our users’ request, starting with version 1.0 the plugin enhances all terms (including categories). You found in our code the empty method because it is in our future plans to allow users to manage the taxonomies they need to be enhanced.
- editing
is_valid_taxonomy
to filter the taxonomies you need enhanced is enough to avoid enhancing all taxonomies – the method is already called where needed, no further calls are required. - we had an issue using the
post_category
field – it incremented the count of posts attached to the category and found it difficult to prevent this otherwise. We are open to suggestions. - Export – only standard tables are exported by default and there is no way using to augment the export file. (there are requests for this WP feature lasting 5 years ago…). We may be able to drop the need for the correlation table by using posts meta data. We shall address this for the next release.
Let me know if I have addressed all your questions and if there is anything open, let us know.
Forum: Plugins
In reply to: [Enhanced Category Pages] Help Comment problemHi!
Could you send me the file you have modified? (You may use https://pastebin.com/ service)
This code cannot work because of the (->) operator not being applied to an object (notice the ; preceding it:
comments_template(); -> get_template_part('post', 'comment');
Forum: Plugins
In reply to: [Enhanced Category Pages] Help with the codeHi and thank you, much appreciated!
Could you provide with more details:
- what files have you changed?
- what were the changes?
- what error do you have? (check error.log also)
- could you provide us a link?
Also, check our FAQ section and the other Support posts.
Hi Noahj!
Is this still pending?
The plugin adds custom post type called
enhancedcategory
in order to manage the category custom pages.You can add any features to it as you would with any other custom post type.
Let me know if this solved your issue.
Please note that we also offer premium paid support and custom WP/PHP development, so feel free to contact me to discuss further.