Regards.
Regards.
I have a custom post type that stores a specified user ID in a custom post meta field (in addition to the post_author of the person who created the post).
In a view, I have a table displaying the current user's posts for this custom post type using a simple loop.
What I want to do is to display the *username* of the user whose ID was saved in the CUSTOM POST META field (not the post_author!).
What's the correct way to do this?
Jonathan
http://codex.wordpress.org/Create_A_Network
http://www.dewbloggers.com/install-wordpress-on-windows-locally-using-xampp/
You can also assign a local domain name (virtual host) adjusted in your Apache configuration and Windows hosts file. So if your live domain is mywebsite.com, your localhost version would be mywebsite.local. This post provides some useful information: http://austinpassy.com/tutorials/setting-up-virtual-hosts-wordpress-multisite-with-xampp-on-windows-7/
Please let me know if you are satisfied with my answer and if I can help you with any other questions you might have.
Cheers,
Emerson
1) edit your filter form as this:
<td>Property Types[wpv-control taxonomy="propertytype" type="select" url_param="proptype"]</td>
To:
<td class="propertytype">Property Types[wpv-control taxonomy="propertytype" type="select" url_param="proptype"]</td>
2) edit the js as this:
jQuery(document).ready(function($) { $('td.propertytype select option:first').text('All'); });
Please check if the result page is it what you want. thanks
What" rel="nofollow">http://postimg.org/image/7zb8xx9pz/">What it looks like
What" rel="nofollow">http://postimg.org/image/m4h1zqirb/">What is should look like
global $current_user; $args = array( 'author' => $current_user->ID, 'post_type'=> 'candidate'); $myposts = query_posts($args); if ( have_posts() ) { while ( have_posts() ) : $candidate_id = get_the_ID();; endwhile; } echo $candidate_id; // the post ID of post type candidate where author = current user
http://codex.wordpress.org/Function_Reference/query_posts
2) assign this post as parent of the job-application post created by this form
I assume your post type job-application is using slug "job-application", you can try like this:
add_post_meta($post_id, '_wpcf_belongs_job-application_id', $candidate_id, true);
In a previous topic (http://wp-types.com/forums/topic/two-sliders-that-move-at-the-same-time/?action=answer&reply_id=69456) I needed some help getting a double slider going. With some awesome support I got the slider post type made and in one view got the images rotating and another view the associated text and headers.
Anyway. New issue.
The sliders both work, but now that we've got real content in them we've noticed they aren't in sync. Also, when using the left/right nav buttons on the slider image the text slider doesn't respond. We need them to at least be always the same content if not perfectly timed…
http://masekgolfcars.com.previewdns.com/
Let me know if you guys need an admin account to check stuff or if you'd like me to upload the views/types settings zip.
Help?!
Thanks,
~ Aaron
Download here: https://dl.dropbox.com/u/528952/MasekView.zip
Thanks all, any help is greatly appreciated!
~ Aaron
http://wp-types.com/documentation/user-guides/debugging-types-and-views/
PHP Debugging
In case you think that Types or Views are doing something wrong (what we call a bug), you should enable PHP error logging. Again, edit your wp-config.php file and add the following:
ini_set('log_errors',TRUE);
ini_set('error_reporting', E_ALL);
ini_set('error_log', dirname(__FILE__) . '/error_log.txt');
This will produce a file called ‘error_log.txt’ in your WordPress root
directory. Make sure that the web server can create and write this file.
You currently have the "Theme Blvd Layout Builder" plugin activated, however you are not using a theme with Theme Blvd Framework v2.2+, and so this plugin will not do anything.
Where can I download "a theme with Theme Blvd Framework v2.2+"? and I tested the Insert Views Shortcode pop-up window, it works fine.
Sorry, Please open a new thread for this. Because this one is marked as closed.
–
With Regards
Bigul M
There is only English version for the CRED date field, and how do you translate march as "märz" in the datepicker, is it a plugin or theme? could you descibe the details to duplicate the same problem? thanks
I just wanted to inform Toolset users about it, because I did not find any other solution.
Best regards,
Peter