Forum Replies Created
-
AuthorPosts
-
December 4, 2014 at 10:54 pm in reply to: How to create Custom Post Type (CPT) and will previous & next links work? #363293
Allright, got it kind of working by adding this code to functions.php:
function category_specific_post_nav($settings) { if($settings['taxonomy'] != 'portfolio_entries') $settings['same_category'] = true; return $settings; } add_filter('avia_post_nav_settings','category_specific_post_nav', 10);
However, this code won’t get a certificate for ‘Excellent Coding’ I guess. What should I use instead of
!= 'portfolio_entries'
to assign blog posts only?December 4, 2014 at 10:46 pm in reply to: How to create Custom Post Type (CPT) and will previous & next links work? #363288Hmm, the link above (https://kriesi.at/support/topic/portfolio-link-arrows/#post-245040) tells how to get category-specific next and previous buttons for the portfolio.
Based on this, I got it going for the complete website by adding this code to functions.php:
function category_specific_post_nav($settings) { $settings['same_category'] = true; return $settings; } add_filter('avia_post_nav_settings','category_specific_post_nav', 10);
Now I only want to get it working for my blog posts, and then basically for only those two taxonomy terms:
– Personal
– PhotographyDecember 4, 2014 at 10:27 pm in reply to: How to create Custom Post Type (CPT) and will previous & next links work? #363283Hmm, wondering if this is a point to start from when using taxonomy categories (instead of custom post types):
– https://kriesi.at/support/topic/portfolio-link-arrows/#post-245040Can you guys please help me to get going?
December 3, 2014 at 10:58 pm in reply to: How to create Custom Post Type (CPT) and will previous & next links work? #362564The same happens btw if I create a blog list with image posts based on taxonomy term Fotografie (term Photography): looking at the photography list (category/fotografie), clicking a single post, and using the next/previous buttons, shows that this wil flip through standard posts (term Personal) too…
However, when I page through my portfolio items (starting from here: http://marcbijl.nl/portfolio-webdesign-vormgeving-presentatie), the next/previous buttons only show other portfolio items (and no blog posts).
So that means I do need to make a custom post type, I guess?
December 3, 2014 at 10:52 pm in reply to: How to create Custom Post Type (CPT) and will previous & next links work? #362560Hmm, doesn’t work…
Yes, I managed to create a blog page with image posts only:
– http://marcbijl.nl/foto-blogHowever, when flipping through these image posts, the next/previous buttons contain standard posts too.
What I want is:
1. Create a photo blog, that is a list of image posts only, and if I click on such a post, the next and previous buttons should only show other image posts
2. Create a personal blog aside, that is a list of standard posts only, and if i click on such a post, the next and previous buttons should only show other standard post (not the image posts!).Hope this makes things clear…
December 3, 2014 at 10:31 pm in reply to: How to create Custom Post Type (CPT) and will previous & next links work? #362540Hi Eilliot,
I’ll give that a try, thnx!
Did you do the same at your own website? What I see over there is this (and that’s not what I want):
– Click on blog > photos
– Notice the first one is about winter wonderland, the second about horses you take care of
– Click on the post about winter wonderland
– Notice the previous buttons does not link to the horses, but about a new jobHope you understand what I mean?
Anyway, I’ll dive into it and see what it brings! In the meanwhile looking forward to a response about the things above…
Cheers!
MarcDecember 3, 2014 at 12:08 am in reply to: Set a different / custom size for featured image per post #361864That does the trick, great!
Thnx,
MarcHmm, found where the position can be set: in diggdigg-floating-bar.js
It seems Chrome cannot handle what’s happening injQuery(window).scroll(function ()
.I created a ‘workaround’ that’s fine for now (but I’m looking for a nicer solution).
Find this code:
if($floating_bar.length > 0) { var pullX = $floating_bar.css('margin-left'); jQuery(window).scroll(function () { var scroll_from_top = jQuery(window).scrollTop() + 70; var is_fixed = $dd_outer.css('position') == 'fixed'; if($dd_end.length){ var dd_ajax_float_bottom = dd_end - ($floating_bar.height() + 70); } if($floating_bar.length > 0) { if(scroll_from_top > dd_ajax_float_bottom && $dd_end.length){ dd_position_floating_bar(dd_ajax_float_bottom, dd_left); $dd_outer.css('position', 'absolute'); } else if ( scroll_from_top > dd_top && !is_fixed ) { dd_position_floating_bar(70, dd_left); $dd_outer.css('position', 'fixed'); } else if ( scroll_from_top < dd_top && is_fixed ) { dd_position_floating_bar(dd_top, dd_left); $dd_outer.css('position', 'absolute'); } } }); }
And replace it with something like this:
if(($floating_bar.length > 0) && (navigator.userAgent.search("Chrome") < 0)) { var pullX = $floating_bar.css('margin-left'); jQuery(window).scroll(function () { var scroll_from_top = jQuery(window).scrollTop() + 70; var is_fixed = $dd_outer.css('position') == 'fixed'; if($dd_end.length){ var dd_ajax_float_bottom = dd_end - ($floating_bar.height() + 70); } if($floating_bar.length > 0) { if(scroll_from_top > dd_ajax_float_bottom && $dd_end.length){ dd_position_floating_bar(dd_ajax_float_bottom, dd_left); $dd_outer.css('position', 'absolute'); } else if ( scroll_from_top > dd_top && !is_fixed ) { dd_position_floating_bar(70, dd_left); $dd_outer.css('position', 'fixed'); } else if ( scroll_from_top < dd_top && is_fixed ) { dd_position_floating_bar(dd_top, dd_left); $dd_outer.css('position', 'absolute'); } } }); } if(($floating_bar.length > 0) && (navigator.userAgent.search("Chrome") >= 0)) { dd_position_floating_bar(550, dd_left); $dd_outer.css('position', 'fixed'); }
As said: this is fine for now, but I’m trying and look for something better ;-)
UPDATE: DIGG DIGG SOCIAL SHARE BAR ACTS WEIRD AT KRIESI.AT
========================================================I did some more testing in Chrome at kriesi.at to find out the bar behaves strange too…
Right now, I’m in a Windows environment, using Chrome 38.0.2125.111. When paging through the blog posts at kriesi.at and hit the CTRL-R buttons every now and then (to refresh the page), the social bar moves up quite a bit.
That’s the same kind of behaviour I had yesterday night in my Mac environment too (in Chrome).
Hi,
I’ve tried digg digg and I think it’s fab!
However, the bar acts strange in Chrome (at least on my mac, when refreshing the page, and paging through my blog posts). At kriesi.at I can’t reproduce this behaviour.I know you guys do not support 3rd party plugins (fair enough), but did you do anything with the code to solve the weird acting of the bar in Chrome on Mac?
Thnx in advance!
MarcOctober 24, 2014 at 11:12 pm in reply to: wysiwyg and text editor stopped working for blog posts: empty / blank content #340821Yeah…
You guys don’t support 3rd party plugins.
And guess the other guys don’t support 3rd party themes.Anyway, I decided to use another rating plugin, and now things run smoothly.
So this one can be set to resolved.
October 24, 2014 at 4:47 pm in reply to: wysiwyg and text editor stopped working for blog posts: empty / blank content #340689Hmm, now I changed the theme back to Fourteen, and activated the rating-widget plugin again, guess what? The wysiwyg editor started to work again!
So, here’s what we have:
– Using Enfold and not using rating-widget: wysiwyg editor works fine.
– Using Enfold and using rating-widget: wysiwyg editor doesn’t work
– Using Fourteen and using rating-widget: wysiwyg editor works againWhere do things go wrong?
October 23, 2014 at 10:31 pm in reply to: wysiwyg and text editor stopped working for blog posts: empty / blank content #340364Thnx for your suggestion. I turned off the latest plugin I started using (rating-widget: https://wordpress.org/plugins/rating-widget) and then the wysiwyg editor started working again: great! Problem solved :-D
Last question: can you guys suggest another rating plugin?
October 23, 2014 at 12:31 am in reply to: Change featured image size and optimize for retina displays #339846Ok, thnx. I’ll give it a try ;-)
October 22, 2014 at 11:40 pm in reply to: Change featured image size and optimize for retina displays #339817Anyone?
Hi Yigit, the problem’s already solved!
Here’s some info which might be important for you guys.
It didn’t work when I did:
Dashboard > Appearance > Themes > Enfold (Theme Details) > Update now linkHowever, it did work when I did:
Dashboard > {theme name: Enfold Child} > Enfold Child Theme Options > Theme updateCheers!
MarcThnx mate!
Just sent Kriesi an e-mail; you can close the topic ;-)
Cheers,
MarcAnd, the great thing is: this way all the HTML is shown in the excerpt of the blog page too! Things like a css class for the excerpt font, hyperlinks, etcetera. How cool is that? Neat stuff!
September 20, 2014 at 11:41 am in reply to: Cut excerpt off at more tag instead of using word/character count #322305And, the great thing is: this way all the HTML is shown in the excerpt of the blog page too! Things like a css class for the excerpt font, hyperlinks, etcetera. How cool is that? Neat stuf!
For me, as creator of the topic, it can be closed! :-)
Works like a charm for me!!!
Thnx @Dude!!!
MarcSeptember 20, 2014 at 11:29 am in reply to: Cut excerpt off at more tag instead of using word/character count #322303Hi Josue,
Just tried this solution of @Dude and works perfectly!!!
https://kriesi.at/support/topic/length-of-description-in-preview/#post-322259As far as I can see/test right now, it doesn’t make a difference how to set the Length Blog Content of the Blog Posts Element on my Blog page: I think it can be either excerpt + readmore or full blog length. Hope to get some time tonight to do some more testing…
For now, this is just fab!!! :-)
Cheers, MarcSeptember 19, 2014 at 9:56 pm in reply to: Cut excerpt off at more tag instead of using word/character count #322124Hi Josue,
Just tried your solution:
(1) Added the code to functions.php of my child theme.
(2) Went to the Blog Posts Content Element of my blog page, and set the Blog Content Length to Full Content.
(3) In the blog post I inserted the more-tag by using the button ‘Insert Read More tag’.After saving I still see the complete blog posts, instead of the first part till the more-tag.
Hope to hear from @simpson199 if it works for him…
BTW
As said before, for me the problem is already solved by a workaround (https://kriesi.at/support/topic/cut-excerpt-off-at-more-tag-instead-of-using-wordcharacter-count/#post-319100).Cheers,
MarcHi Yigit,
I’m sorry I forgot, but my problems are solved;
Tried and found some neat CSS solutions.Topic can be closed.
Cheers,
MarcSeptember 19, 2014 at 9:51 am in reply to: Cut excerpt off at more tag instead of using word/character count #321766Allright, that would not be much of a problem then, since I use a child theme ;-)
Thnx for the quick reply!
MarcSeptember 19, 2014 at 7:50 am in reply to: Cut excerpt off at more tag instead of using word/character count #321697Hi Josue,
As I wrote in this topic (https://kriesi.at/support/topic/cut-excerpt-off-at-more-tag-instead-of-using-wordcharacter-count/#post-319100), my problem is solved because I use a plugin. However, I want to try your solution as well; that would be the easiest solution in case of future text changes in the excerpt/preview.
But then I have one question: will such a hard coded solution last in future updates of the theme?
Cheers,
Marc-
This reply was modified 10 years, 7 months ago by
Marc Bijl.
Hmm, stumbled upon this post and found out it didn’t work for me. A better solution is given here: https://kriesi.at/support/topic/center-copyright-2
Cheers!
MarcSeptember 18, 2014 at 1:56 pm in reply to: Subtitles plugin works for blog posts, not for pages #321172Hi Josue, thnx for the reply.
I understand you guys don’t support for trouble with third party plugins, fair enough ;-)
Just wondered if you guys stumbled upon this problem before, and might have a code snippet or something.Indeed I’ll disable the Avia Theme Builder – or just enter the subtitle in the body area.
You can close this topic, no worries mate!
Cheers,
MarcSeptember 17, 2014 at 9:11 pm in reply to: Translate things like 'read more', 'comments' etc to Dutch #320731Hi Josue,
Thnx mate, it worked! I went to nl.wordpress.org, downloaded the whole lot, did a complete overwrite of all the files through FTP (the Dutch site told me to do so), logged in, and set the language to Dutch in the Admin area (General settings, if I’m not wrong…). In the wp-config.php file I also changed
define ('WPLANG', '');
intodefine ('WPLANG', 'nl_NL');
but that should not be necessary – says the language setting option in the Admin area.Anyway, my site seems to be in Dutch now, great!
Topic closed, cheers!
MarcSeptember 17, 2014 at 8:02 am in reply to: Translate things like 'read more', 'comments' etc to Dutch #320361Allright, thnx!
I’ll give that a try.To keep my theme, child theme (including custom css), plugins, and the content of my website: can I simply overwrite the WP core files with the core files of the Dutch pack? Or do I need to start from scratch, and reinstall all the plugins, recreate all the content, and adjust the the theme again?
Cheers,
MarcSeptember 16, 2014 at 8:10 am in reply to: Translate things like 'read more', 'comments' etc to Dutch #319640This reply has been marked as private. -
This reply was modified 10 years, 7 months ago by
-
AuthorPosts