Deprecated: Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead. in /var/www/html/wp-includes/functions.php on line 5383

oren

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: Multiple Pages with different Portfolio page #3367
    oren
    Participant

    Like a magic!
    Thanks!

    in reply to: Multiple Pages with different Portfolio page #3360
    oren
    Participant

    Hello Andrew,

    This is exactly what I want to achieve!

    But, I can’t find the way to exclude certain “tagportfolio” ID from the general portfolio… can you please give me a hint?

    in the “page_portfolio” template I tried:

    $stycky_query = new WP_Query( array( ‘post_type’ => ‘project’, ‘meta_key’ => ‘satori_post-sticky’, ‘tagportfolio__not_in’ => array( 34 )) );

    …to exclude the projects tagged with tagportfolio’s ID: 34.

    not working :(

    Your help is much appreciated!

    Oren

    oren
    Participant

    I think I got it!

    I’ve added to functions.php (line 383):
    ‘taxonomies’ => array(‘category’,’post_tag’,’tagportfolio’)

    so the “project” post-type will recognize the “category” and “tag” taxonomies.

    Than I added before the loop in category.php (yes, I use one:) this:
    query_posts( array(‘post_type’ => ‘project’) );

    so it will call these post types.

    And that’s it!

    So far I worked only on the category.php, and now I’ll create the tag.php and author.php as well.

    If I’ll have any Issues, I’ll post again (:

    THANKS A LOT, ANDRII!

    Oren

    oren
    Participant

    Hi Andrii,

    Thanks a lot!

    So far all good, but there’s one thing:
    I want the Category, Tag and Author templates refer to the PROJECTS, not to the native wordpress posts.

    As you can see, I used the “content-aside” format as the “post” format (because I want them to appear in the portfolio, so they have to be “project” post-type, right?).

    My final goal is to show in the category template the list of the related projects (which are, as I said, only content-aside format projects).

    Right now, the category template is looking for POSTS, and not for PROJECTS… so this is the only change I want to do… (add these taxonomies to the project post-type).

    Hope I’ve been clear enough (:

    THANKS,

    Oren

    oren
    Participant

    Hi Andrii,

    Thanks for replying (and editing my message:)
    I upgraded the user to admin, so now you can log in and change whatever needed. As told, I just need to have the ability to customize the author, tag and category templates. If you can even just guide me to what file/lines to look at, and I’ll continue with the php work.

    You can see here’s an example to “project” that uses all three taxonomies (portfolio-tag, tag, category). I want their links (category- on the left side. tag- at the bottom of the post) to link to the appropriate templates.

    By the way, I’ve update also some code in the parent theme (Ikebana original folder’s functions.php). Just so you know.

    Thanks,

    Oren

    in reply to: Set the theme to 100% width #2370
    oren
    Participant

    Hi,
    So it worked,
    but i found that It is also necessary to delete the lines 78-79 in custom-styles.php

    Thanks again,
    Oren

    in reply to: Set the theme to 100% width #2363
    oren
    Participant

    Hi,
    Thanks for the Answer.
    I’ve tried your solution and it’s not fully working, and I have a guess why:
    It seems that the theme is generating custom CSS code (look in line 605 in the source of my homepage). It’s not only overwriting my CSS files, it also has the !important rule, so I can’t fight it…

    I assume it has something to the portfolio/isotope system? because it seems like it calculate the box-size + margin, and set max-width for it.

    If you can point me again to the necessary changes, it will be much appreciated.

    Thanks,

    Oren

Viewing 7 posts - 1 through 7 (of 7 total)