hugotiles
Forum Replies Created
-
Hi Micky,
Thank you very much for your input. For the record, I contacted Woo support and they explained that the archive page for Projects’ is used to display the portfolios. Whereas, projects’ folder (slug name) is where the actual projects reside. And the slug name and the archive page need to have different names otherwise it causes an url conflict between sections in WordPress… I guess that is why I got the message :”Sorry, no…”
So, I gave it up and simply named my archive page “portfolios” and the the slug “portfolio”, and that’s it.
Thank you again for reaching out.
Regards,
HugoHi Jason,
Thank you very much for for the code. I used this code to rename the slug “portfolio” and it works beautifully. Now when you select a project, you get the following path:
http://www.site.com/portfolio/category/myfirstproject
However, when you select a category, the root folder changes directory to:
http://www.mysite.com/archive/category
This doesn’t create a consistent and logical permalink structure. Instead, I would have preferred to see:
http://www.site.com/portfolio/category/
I tried to rename the archive page “portfolio”. Again, it does work fine when selecting an individual project. However, having the archive page and the Project slug carrying the same name, creates an inconsistency when selecting a category. That is, you get a “Sorry, no posts matched your criteria”.
Would you know if it is possible to display the project’s folder when selecting project categories (instead of the archive URL)?
Thank you,
HugoForum: Plugins
In reply to: [Projects by WooThemes] redirect errorJust found out that the look was being created by my SEO plugin, which was redirecting urls every time I made a change. Just deleted the redirects and solved the issue
Forum: Plugins
In reply to: [Projects by WooThemes] redirect errorI run into a redirect loop after renaming a project and then renaming back again to its original name. The loop could be fixed by naming it again something different. I tried refreshing the permalinks but it won’t do anything.
Would anyone know where to go inside (WP or the Plugin itself) to force the url name and break outside the loop? Thanks
Forum: Plugins
In reply to: [Projects by WooThemes] Image navigationHey James
Thank you so much for your patience and your help. I think that I struck lucky! Looking through the files, I nailed the nesting if statement for the featured and gallery images inside project-feature.php. I simply erased the lines pertaining to the featured image:
<?php
/**
* Single Project Image
*
* @author WooThemes
* @package Projects/Templates
* @version 1.0.0
*/if ( ! defined( ‘ABSPATH’ ) ) exit; // Exit if accessed directly
global $post;
?>
<div class=”single-featured”><?php
if ( has_post_thumbnail() ) {if ( $attachment_count > 0 ) {
$gallery = ‘[project-gallery]’;
} else {
$gallery = ”;
}if ( apply_filters( ‘projects_gallery_link_images’, true ) ) {
echo ‘‘ . $image . ‘‘;
} else {
echo $image;
}}
?>
</div>
I then added the covered page image to the project gallery and also put the modified project-featured.php inside “projects->single-project” directory of my child theme. And unless Canvas has something to do with my lightbox like display, I just didn’t need to install any other plugin. Slowly but surely, it starting to look alike my Canvas portfolios. Thanks a lot!
Forum: Plugins
In reply to: [Projects by WooThemes] Removing project navigation at the bottom of the pageHi James,
Woo support could not come out for a solution for the functions.php code. Instead, they insisted in using css code. So, if it could help someone else, here’s the code to be pasted inside the style.css:
single-project .nav-prev , .single-project .nav-next { display:none !important; }
Thank you again.
Forum: Plugins
In reply to: [Projects by WooThemes] Different portfolio typesGot it. Thank you very much!
Forum: Plugins
In reply to: [Projects by WooThemes] Removing project navigation at the bottom of the pageHi James,
I’m still waiting for Woothemes to get back to me, but pasting the code:
remove_action( ‘projects_after_single_project’, ‘projects_single_pagination’, 5 );
in my Canvas child theme does not remove the navigation. As a matter of fact, I would probably leave it there if it wasn’t for the fact that I have small rectangles instead of arrows. Would you happen to know why is this so? Thanks
Forum: Plugins
In reply to: [Projects by WooThemes] Removing project navigation at the bottom of the pageunfortunately, I don’t know how to work around Canvas’ inner works. However, I got around this problem with CSS code. If it could help someone, here’s what I did:
insert this code inside your child theme custom.css:
.nav-prev { display:none; }
.nav-next{ display:none; }Forum: Plugins
In reply to: [Projects by WooThemes] Removing project navigation at the bottom of the pageI’ll try to see if my theme maker can help me with that missing line of code. Thank you.
Forum: Plugins
In reply to: [Projects by WooThemes] Removing project navigation at the bottom of the pageYes, I’m running Canvas and it looks that it does just that. I’ve looked into their support forum and it seems that the code structure I would need to use goes something like this:
add_action( ‘projects_after_single_project’, ‘projects_single_pagination’, 5 );
function remove_XXXXXXXXXXXX() {
remove_action( ‘projects_after_single_project’, ‘projects_single_pagination’, 5 );
}My problem is that I don’t know what would be the name of the function to use in place of the xxxxxxxxx…
Could you help me with that? Thanks
Forum: Plugins
In reply to: [Projects by WooThemes] Removing project navigation at the bottom of the pageThank you for your quick reply. I copied and pasted this code into my Child Theme’s functions.php but it did not work. Any ideas what I’m missing here?
Thanks
Forum: Plugins
In reply to: [Projects by WooThemes] Categories at the top of the portfolio pageDone!
Thank you very much.
Forum: Plugins
In reply to: [Projects by WooThemes] Categories at the top of the portfolio pageHi James,
I have marked this topic as resolved a while back… Nevertheless, would you mind pasting the modified code for the meta.php file that will remove the categories and allow automatic updates?
Thanks
Forum: Plugins
In reply to: [Projects by WooThemes] Categories at the top of the portfolio pageHi James,
Sorry if my questions are basic but I’m trying to regenerate what I used to do effortlessly with my Canvas theme, using any tutorial that I can find… I finally managed to remove the categories after pasting meta.php (erased of its content) inside of my Child theme directory. And I recreated “Select a category” using simple HTML text and linking each category to their project-category pages. I really thank you for your input on this, you saved me a lot of time and trial errors.
Thanks