Viewing 13 replies - 1 through 13 (of 13 total)
  • Theme Author IWEBIX

    (@iwebix)

    Hi!

    You may have to refresh your permalinks settings ??

    Thread Starter ron963

    (@ron963)

    this is what I mean:

    https://www.snapobyte.com/photography-portfolio/

    if you click the portfolio title “Sunflower Photoshoot,” the page does not show.

    permalinks setting is set to “Post name.”

    Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the Twenty Eleven theme to rule out any theme-specific problems.

    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    – resetting your custom permalinks back to the default setting via Settings -> Permalinks.

    Thread Starter ron963

    (@ron963)

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    did this by deactivating all plugins and still have the same issue.

    – switching to the Twenty Eleven theme to rule out any theme-specific problems.

    switched to twenty eleven but it doesn’t have the portfolio options.

    – resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    did this but no go.

    – resetting your custom permalinks back to the default setting via Settings -> Permalinks.

    did this but no go either.

    Thread Starter ron963

    (@ron963)

    so I figured out the link to the title… basically I deleted the categories and created new ones. The title link finally works.

    But now the category links are broken. I deleted the portfolio and created a brand new one and re-linked it to the category and now I get the 404 error ??

    hi everyone i got problem here, how i got the dropdown menu ? i’m stuck there ???

    i used wordpress menu but not luck, use portofolio and nothing show up in my navigation menu (only home)…

    thank in advance

    Thread Starter ron963

    (@ron963)

    I don’t think my problem has to do with the theme. I found out that both the portfolio title and category links work only when my portfolio category starts with an “A.”

    If I switch to some other category say…”Wedding,” only the category link works but not the portfolio title link.

    Thread Starter ron963

    (@ron963)

    I give up. I just completely removed and installed WordPress and this theme. The portfolio page only like categories with a letter “A” in front.

    For example: I had “Engagement” as a category. I changed that to “AEngagement” and it starts working perfectly.

    I appear to be having a similar problem.

    When listing portfolios, I also noticed that the ‘title’ link breaks when using categories. If no category is selected, then things are just fine and the portfolio page displays like it should.

    Only certain category names appear to work, and when I have one that does not simply appending an “A” to the beginning of the name corrects the problem.

    I’ve traced the problem down to the get_template_part(‘scripts/breadcrumb’) under single-myportfolio.php. It seems to fail when it reaches the section for generating the portfolio link (in breadcrumb.php):

    if($terms) {
    	$link = get_term_link($terms[0]->slug, 'portfolio');
    	$name = $terms[0]->name;
    }

    I get the following error from these lines:

    Notice: Undefined offset: 0 in /Library/WebServer/Documents/xxxx/wp-content/themes/wp-creativix/scripts/breadcrumb.php on line 51
    Notice: Trying to get property of non-object in /Library/WebServer/Documents/xxxx/wp-content/themes/wp-creativix/scripts/breadcrumb.php on line 51
    Notice: Undefined offset: 0 in /Library/WebServer/Documents/xxxx/wp-content/themes/wp-creativix/scripts/breadcrumb.php on line 52
    Notice: Trying to get property of non-object in /Library/WebServer/Documents/trav3lingman/xxxx/themes/wp-creativix/scripts/breadcrumb.php on line 52

    This is far as I’ve managed to get, however I don’t yet understand the inner workings of wordpress / this theme to debug further.

    Thanks!

    I should also note that I’ve tested this on several installations, including a fresh WP/theme install with the same outcome.

    After a bit more digging, I think I’ve come up with a solution (though not a very efficient one).

    I did a var_dump on $terms to check the object ID for each call, and it turns out that the ID is different depending on the portfolio category under which the portfolio is filed. I’m not sure why, but the function that starts with if($terms) assumes that you’ll always be calling an ID of [0].

    Since I do not fully understand the full functionality of this call, I used a while loop to check for errors and increment the ID until the call returns no error:

    $index_count = 0;
    $break = 0;
    $terms = get_terms('portfolio');
    
    if($terms) {
    	while($break != 1){
    		if(is_wp_error(get_term_link($terms[$index_count]->slug, 'portfolio'))){
    			$index_count++;
    		}else{
    			$link = get_term_link($terms[$index_count]->slug, 'portfolio');
    			$name = $terms[$index_count]->name;
    			$break = 1;
    	        }
    }

    This fixes the problem, though I’m not sure it solves the root cause of the issue.

    Please let me know what the ‘real’ solution is.. ??

    Thanks!

    }

    I gave up trying to make the portfolio work. I just do the “add posts” and create a gallery, then go into the HTML view and manually change it to [gallery columns="1" size="large" link="file"]. Efficient, no, but workable, yes.

    Hello,

    I’ve got two problems with the portfolio.
    1) When you click on a header in the portfolio you end up at an empty page so there is something wrong in the navigation, which I unfortunately cannot find
    2) The text in the portfolio is sometimes longer then the space in the box for that specific project
    You can visit the portfolio at https://wendymast.nl/communicatieadvies/?page_id=136

    The explanation Trav3lingMan gave above is not really clear to me, hope anyone can help. Thanks in advance.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘[Theme: WP-Creativix] portfolio-item/portfolio not showing’ is closed to new replies.