VideoHive

Posts by mikes02

54 posts
  • Bought between 50 and 99 items
  • Has been a member for 4-5 years
mikes02 says

I tried searching for tutorials but I can’t seem to find any tutorials on how to make geometric shapes like this:

54 posts
  • Bought between 50 and 99 items
  • Has been a member for 4-5 years
mikes02 says

He told me he paid $300 for it after I asked him about it and showed him the stock artwork. He asked me what he should do about it, I asked him if the designer told him it would be unique artwork or if the designer claimed it as his own work, etc. but he hasn’t gotten back to me yet.

54 posts
  • Bought between 50 and 99 items
  • Has been a member for 4-5 years
mikes02 says

I’m not sure, actually. I don’t know where he found the designer.

54 posts
  • Bought between 50 and 99 items
  • Has been a member for 4-5 years
mikes02 says

Exactly.

I messaged him about it, he didn’t respond, I linked him to five companies I found right away using the exact same logo. He made a post on Facebook saying the guy did the “best logo design on the west coast”, I knew it looked like stock artwork and sure enough it was.

54 posts
  • Bought between 50 and 99 items
  • Has been a member for 4-5 years
mikes02 says

omg, it found soooooooooooo many duplicates!

54 posts
  • Bought between 50 and 99 items
  • Has been a member for 4-5 years
mikes02 says

My friend recently paid someone to do a logo for his new company, after I saw the logo I couldn’t help but feel like he may have gotten screwed. The logo looks exactly like a stock vector to me, does this look familiar at all to anyone:

54 posts
  • Bought between 50 and 99 items
  • Has been a member for 4-5 years
mikes02 says

I setup a custom post type that has profiles of people with their name, featured image, bio, e-mail address, and some other custom data fields, this works great, except for one thing, on these specific profile pages I want to show the posts that belong to the profile, is there a way to do this?

I looked into Author templates but I just don’t think they will work for this because the Custom Post type is setup with all of the custom fields that are needed, I am just stumped on how to get the posts that were authored by the person whose profile it is….

Any ideas?

54 posts
  • Bought between 50 and 99 items
  • Has been a member for 4-5 years
mikes02 says

I am trying to run a query to load a checkbox and dropdown where the user can select who else was involved on a project, but I cannot figure out how to save this data since each checkbox/dropdown would be unique, any ideas? I have searched Google extensively but cannot find a solution. After the code I have an image that shows what I am doing, I can get all the fields to show up correctly (I have done simpler custom fields in the past), but this is the first time I am working with multiple checkboxes and dropdowns and I am stumped. Thank you in advance for your time in helping me with this issue.

// Staff Dropdown
add_action('add_meta_boxes', 'jpg_affiliated');
function jpg_affiliated()
{
add_meta_box('jpg_affiliated_staff', 'Who Was Involved?', 'jpg_affiliated_staff_callback', 'post', 'normal', 'default');    
}
function jpg_affiliated_staff_callback($post)
{
$values = get_post_custom($post->ID);
wp_nonce_field('jpg_affiliated_nonce', 'jpg_affiliated_nonce_field');
?>
<p><strong>Select any staff that were involved in this event and what their role was.</strong></p>
<?php
$team = new WP_Query(array('post_type' => 'jpg_profiles','post_status' => 'publish','posts_per_page' => '-1', 'orderby' => 'title', 'order' => 'ASC'));
while($team->have_posts()) : $team->the_post();
?>    
<div style="overflow:hidden;padding:0 0 10px 0">
<table>
<tr>
<td width="10%"><input type="checkbox" id="" name="" value="<?php echo $values['jpg_test'][0]; ?>" /></td>
<td width="40%"><label for="jpg_test"><?php the_title(); ?></label></td>
<td width="50%">
<select name="" id="">
<option value="">Select role...</option>
<option value="Primary Shooter">Primary Shooter</option>
<option value="Second Shooter">Second Shooter</option>
<option value="Third Shooter">Third Shooter</option>
<option value="Lighting Assitant">Lighting Assistant</option>
<option value="Photo Booth Coordinator">Photo Booth Coordinator</option>
<option value="Marketing Coordinator">Marketing Coordinator</option>
<option value="Studio Manager">Studio Manager</option>
<option value="JPG Team Member">JPG Team Member</option>
<option value="Photogrpaher">Photographer</option>
</select>                
</td>
</tr>
</table>
</div>    
<?php
endwhile;
wp_reset_postdata();
}

add_action('save_post', 'jpg_save_associated');
function jpg_save_associated($post_id)
{
// Bail if we're doing an auto save
if(defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) return;

// if our nonce isn't there, or we can't verify it, bail
if(!isset($_POST['jpg_affiliated_nonce_field']) || !wp_verify_nonce($_POST['jpg_affiliated_nonce_field'], 'jpg_affiliated_nonce' )) return;

// if our current user can't edit this post, bail
if(!current_user_can('edit_post')) return;

// Probably a good idea to make sure your data is set        
if(isset($_POST['jpg_test'])){update_post_meta($post_id, 'jpg_test', esc_attr($_POST['jpg_test']));}
}
?>

54 posts
  • Bought between 50 and 99 items
  • Has been a member for 4-5 years
mikes02 says

That worked perfectly, thank you so much!

54 posts
  • Bought between 50 and 99 items
  • Has been a member for 4-5 years
mikes02 says

I would like to not go through the animation if the link already has the class of “active”, I have been fooling with this for a bit and can’t seem to get it to work, this is the current jQuery I am using

// Scrolling Animation
        $('#slides li a').each(function()
        {
            $('#slides li a').click(function(e)
            {
                $('#social').fadeOut(100);

                var $anchor = $(this);
                $('html, body').stop().animate({
                    scrollTop: $($anchor.attr('href')).offset().top
                    }, 1500,'easeInOutExpo',function()
                    {
                        $('#social').fadeIn(250);    
                    });
                e.preventDefault();
            });
        });

And here is the HTML

<nav id="slides">
    <ul>
        <li id="slide-1"><a href="#top" title="Return to Top" class="top active">Return to Top</a></li>
        <li id="slide-2"><a href="#portfolio-section" title="Work Samples" class="portfolio-section">Work Samples</a></li>
        <li id="slide-3"><a href="#approach-wrap" title="Our Approach" class="approach-wrap">Our Approach</a></li>
        <li id="slide-4"><a href="#contact-wrap" title="Drop Us a Line" class="contact-wrap">Drop Us a Line</a></li>
    </ul>
</nav>
by
by
by
by
by