Digital experiences for all disciplines
Forum Replies Created
-
-
Thank you for your answer.
Best regards
MortenI would like to se the possibility to share a blog post or portfolio item on instagram.
Best regards
MortenHi Laranz,
It seems like it was me who made a fail, so please consider this topic as solved. I forgot to copy the whole code into the functions.php.
Best regards
MortenHow did you do it? I’m also interested in adding Instagram to portfolio share buttons.
Best regards
MortenHi
I would like to have the opportunity to show portfolio category description.
Best regards
MortenThank you, Kyle.
It solved the problem.
Have a nice day 🙂Best regards
MortenHi again,
I have uploaded the functions.php version 2.64 with the code above and now it works, but I don’t know if there is any updates to the functions.php I will be missing by doing this.
Best regards
MortenI found out it is this rule that makes the problem. How can I get it to work again?
First use custom rule like
/galleri/%portfolio-category%/and put this code functions.php at end of file
function brand_permalink($permalink, $post_id, $leavename) {
//con %brand% catturo il rewrite del Custom Post Type
if (strpos($permalink, ‘%portfolio-category%’) === FALSE) return $permalink;
// Get post
$post = get_post($post_id);
if (!$post) return $permalink;// Get taxonomy terms
$terms = wp_get_object_terms($post->ID, ‘portfolio-category’);
if (!is_wp_error($terms) && !empty($terms) && is_object($terms[0]))
$taxonomy_slug = $terms[0]->slug;
else $taxonomy_slug = ‘portfolio-category’;return str_replace(‘%portfolio-category%’, $taxonomy_slug, $permalink);
}Best regards
MortenHi Laranz,
Today it’s working I can see the text strings I translated yesterday is shown in Danish 🙂
I think it has something to do with the cache in the webbrowser.Best regards.
MortenHi Mohammad,
I made a new page with a portfolio setup, but the text block is still missing – please take a look at http://www.kamillaruus.dk/galleri/illustrationer/.
I added a text block and then the portfolio, which is going to show only the portfolio-category “Illustration”. You can see my settings in the screendumps. It’s strange because when I looked at the draft (before I have published the page), then I could see the text but not the widget title.
Is it because the page is actually referring to the portfolio archive page for illustration? As you can see in the source code the is a cannonical tag referring to <link rel=”canonical” href=”http://www.kamillaruus.dk/portfolio-category/illustrationer/” />.
Best regards
MortenAttachments:
You must be logged in to view attached files.Hi Mohammad,
Thanks. I can see that you made test page as a post and its working. I can’t get it to work with the existing page http://www.kamillaruus.dk/galleri/akvarelmalerier/ is it because I have filtered only the portfolio category Akvarelmalerier? I will make a new page tonight and see if it works.
Best regards.
MortenHi again,
Can you add a text block before the a standard portfolio? It doesn’t seem to work, when I put a text block before a portfolio which only shows a specific portfolio-category. Please see attachment and http://www.kamillaruus.dk/galleri/akvarelmalerier/.
Best regards.
MortenAttachments:
You must be logged in to view attached files.Hi Ed,
Thanks a lot.
Looking forward to the next update.Best regards
MortenNo, you’re right.
But thank you for help anyway.Best regards
MortenHi Ed,
Thank you for testing.
I tested the website in my office and here I have another problem. We have Windows 7 and IE 9.0.8112.16421.
I also tested on my son’s laptop and he has Windows 8.1 and IE (can’t remember the version). Here it looks fine.
It must be some browser settings.Best regards
MortenAttachments:
You must be logged in to view attached files. -