Posts by mattmatt88

63 posts
  • Bought between 1 and 9 items
  • Has been a member for 2-3 years
mattmatt88 says

Hello.

I haven’t found the right thing with google. But I think you can easily answer that:

I have added a custom post type: name: “portfolio” registered taxonomy for the category: “portfolio_category”

On the Front Page I want the latest portfolio items of a SPECIFIC CATEGORY (e.g. ID 5 ) to be displayed, but it doesn’t work with the normal “cat” like in the example below. It’s also not possible to write “portfolio_category” instead of “cat”.

new WP_Query('post_type=portfolio'.'&cat=5...

How can I fix that?

Thank you

63 posts
  • Bought between 1 and 9 items
  • Has been a member for 2-3 years
mattmatt88 says

thank you.

63 posts
  • Bought between 1 and 9 items
  • Has been a member for 2-3 years
mattmatt88 says

Hello,

Does anyone have a tutorial how to arrange a portfolio gallery like this: http://postimage.org/image/6r3wvrh85/

I don’t know what to type into google to get a solution.

thank you

63 posts
  • Bought between 1 and 9 items
  • Has been a member for 2-3 years
mattmatt88 says

Oh now I understand. That’s a great function – I love wordpress. Thank you

63 posts
  • Bought between 1 and 9 items
  • Has been a member for 2-3 years
mattmatt88 says

hm unfortunately there’s no solution of the problem.

I know that I could remove the link in the wp-includes but I want the link to be removed on everyone’s wp installation

63 posts
  • Bought between 1 and 9 items
  • Has been a member for 2-3 years
mattmatt88 says

do you also use wp_list_comments?

63 posts
  • Bought between 1 and 9 items
  • Has been a member for 2-3 years
mattmatt88 says

oh sorry, my version was not up to date. it works great :)

But I still want to integrate an Import function for dummy data. Is there an easy way to do that?

63 posts
  • Bought between 1 and 9 items
  • Has been a member for 2-3 years
mattmatt88 says

Sorry for another question. I’m a designer and not much a coder. Is there a solution for that. or has anyone a simple way to do that:


Awesome plugin, transition went smoothly.

I have a question, what is the best way to add default value so that when the user activate the theme, it automatically come packed with optiontree + my options + my default value for these options.

I’ve added the entire option-tree folder in the root of my theme, I’ve added the code to reference it in my functions.php, I’ve exported my theme-options.php file, I’ve added it in the theme and referenced it in my functions.php.

When testing on a fresh WP install, option tree is there, my options are there, but they are blank and I can’t access my layouts. So the user can’t choose a predefined sets of value for the options, and they can’t upload any layouts information .. the only way is to have them install the plugin so they can import some layouts data.

Is there a better way?

Thanks!
63 posts
  • Bought between 1 and 9 items
  • Has been a member for 2-3 years
mattmatt88 says

Hello,

I use wp_list_comments and I want to get rid of the hyperlink on the date. I do want to display the date, but not with the hyperlink.

Is there a way to remove the link for my theme without forcing the user to change something in wp-includes manually?

thanks

63 posts
  • Bought between 1 and 9 items
  • Has been a member for 2-3 years
mattmatt88 says

I have a question.

The user can upload pictures in the OT menu for a slider.

In the functions.php I crop images, e.g.:

add_image_size('slider680', 680, 300, true);

With the nhp theme options I just used

<img src="<?php echo ot_get_option( 'sliderimage1' ); ?>" class="slider680" />

to display the image. But with OT the original picture is taken.

Which code do I have to use?

Thank you. Great plugin, btw.

CSS -Code

img.slider680 { width: 680px; height: 300px; }
by
by
by
by
by
by