84 reputation
8
bio website
location Bucharest, Romania
age 28
visits member for 1 year, 3 months
seen 2 days ago
stats profile views 17

Apr
24
comment Display post_object content using ACF plugin
Thanks all for helping! I really don't know why, but it seems to be working with 'relationship' as a field-type instead of 'post-object'. I'll update the first post.
Apr
24
comment Display post_object content using ACF plugin
I've made an edit to the original post, explaining more on my setup. I tried with get_field('testimonial') and I get the same result (nothing is being displayed). The code from above is in the main loop (but I also tried with it outside of the loop). It's the same. Should I be using 'relationship' instead of 'post_object'?
Feb
11
comment Comments numbering on multiple pages
I solved it in the meantime. Thanks for helping, like I said, the script worked great!
Feb
10
comment Comments numbering on multiple pages
Your script is working, i can see the counter in firebug but I think I have some problems with the CSS. The problem is that I can get the numbering to work correctly. This is the code I've used: .depth-1:before { content: "" counter(item, decimal) "."; counter-increment: item 1; }. As a result each comment has the number "1." in front.
Feb
3
comment Pagination problem after WP_Query with tag filtering
Thanks, I've included the paged query_var in the code but it's still not working [code updated above].
Feb
2
comment Hide Trackbacks/Pingbaks if none exists
Thanks, this worked great!
Oct
20
comment Photo gallery with Featured Images
Thanks to both of you for helping. Mridul code works, now I just need to customize it a bit and probably include it in a widget.
Oct
19
comment Photo gallery with Featured Images
Thanks for helping! Will test the code and read the codex.
Sep
8
comment Custom Post Type URL doesn't work anymore
I did update the Permalinks but at the time it didn't work. Following your advice I thought about changing the permalink structure and apparently that worked. Then I switched back the permalinks to the original setting and everything works fine. Now, I'll try to include my custom taxonomy again (which is named parentalcontrol - unique name so that it doesn't interfere with anything else).
Aug
15
comment Pre-install widgets in WP-Admin
Excellent explanation, thanks Tom! Actually, I'm not trying to force the users to keep my 'default widgets', I just want to give them a good start. I already have defined in different sidebars.php so they appear after the theme activation and can be easily overwritten by the user in admin. But for users that are not very technical and for widgets with lots of options (sliders, image galleries) I would prefer to already have a 'default widget' in place for the users to modify.
Aug
15
comment How can I randomize a Nextgen Gallery Slideshow
You mean the slideshow doesn't work anymore?
Aug
14
comment How can I randomize a Nextgen Gallery Slideshow
Yes, it should work like that. If not, you can also use the shortcode in the template file using the do_shortcode function like this: <?php echo do_shortcode('[random max="7" template="filename" id="1" /]'); ?>
Aug
13
comment posts_nav_link() not working on index.php
It worked, thanks! I really appreciate your help!
Aug
13
comment posts_nav_link() not working on index.php
That's exactly what I did but I still see the posts from the category with ID 41.
Aug
13
comment posts_nav_link() not working on index.php
Thanks, do I need to call the add_action( 'pre_get_posts', 'wpse61695_exclude_cat' ); somewhere in my index.php? I'm asking this because the posts from category ID 41 are still showing up on my homepage.
Aug
13
comment posts_nav_link() not working on index.php
OK, I'll try to do it with pre_get_post - now reading about how to implement it. Thanks!
Aug
13
comment posts_nav_link() not working on index.php
Thanks for the answer amit. I've added the get_query_var( 'page' ) to the wp_query but it's still not working. I've also tried it without the cat=-41 but I got the same behavior.
Aug
5
comment sticky post in custom loop
Thanks, I'll try it with a tag - seems easier.
Aug
4
comment sticky post in custom loop
I want to show the latest 2 posts from category 'events' and if one post from that category is sticky, I want it to be shown first. I don't get it why is this so hard to accomplish on wordpress...
Aug
4
comment sticky post in custom loop
If I include 'post__in' => get_option('sticky_posts') in the wp_query array the sticky post is shown but it doesn't list the next post in the category. Only the sticky posts appears on the page.