I currently have a DB with 1000's of records. Is there a way to tie those existing records (children) to other records (parents). How would I do that?
Link Parent child relationship on existing data
Reply To: [Waiting for user feedback] Fatal Error – Cannot activate WP Views
Hey Adriano,
That fixed it and better still, I did not lose any of my work! Not sure why / how that happened (and I hope it never does again), but your fix was painless.
Thanks,
Ian
Reply To: [Waiting for user feedback] Views Advice
Hi,
Thanks for that, I have read those guides although they don't really answer my question?
Reply To: [Assigned] Views Advice
So I basically want to make a static page that is easily editable by the end user (ie via fields).
Would setting up the custom post type for a single post, then creating a view for it and placing it on a page be the best practice for achieving this? It seems like a slightly convoluted way to do things?
Error: The plugin wp-types/wpcf.php has been deactivated due to an error…
Hi – I just tried to upgrade Types to 1.2.1 and got the following error message:
The plugin wp-types/wpcf.php has been deactivated due to an error: Plugin file does not exist.
I was using Installer
I'm on a multi-site but I was only activating it on one of the sites, not network wide. It activated fine when I installed it previously (the version before 1.2).
Please can you advise what i should do.
Cheers, Rob
Reply To: Error: The plugin wp-types/wpcf.php has been deactivated due to an error…
When I looked into the wp-types folder on FTP it was empty and so I tried to upload manually but that wouldn't work either. I think this is an issue with my host so I'll close this ticket.
Cheers, Rob
Reply To: [Assigned] search using custom fields tutorial
could you describe the question with more detail?
1) Are we talking about "6.added WP-Views Filter widget the right sidebar
I can see you already put the Views filter form into sidebar widget.
2) "The issue with the one download post showing twice."
Please check your if there are two posts with same title: "Children and Teen Murder Mystery Dinner Party Game File Girls ages 12 to 14"
Reply To: [Assigned] Need help getting started with Views
You are using "and" logic in your views option "Relationship to use when querying with multiple custom fields:",
if there isn't any post fulfill all condition you will get any results for data,
I suggest remove all filters, added one by one, check if is there any posts
Reply To: [Assigned] Search by author issues (help)
Sorry,
1) please try modify the PHP codes like this:
function author_id_func( $atts ){
return get_the_author_meta('ID');
}
add_shortcode( 'author_id', 'author_id_func' );
2) put the shortcode [author_id] into your content
Reply To: [Assigned] Taxonomy post count for specific post type
Could you send the login detail of your website to my email: luo.y@icanlocalize.com
Also point out the problem page URL
Thanks
Reply To: [Waiting for user confirmation] codepeople post map plugin
Hi Caridad
Thank you. But it changed nothing. If I look to the source code the result is in both the same. (with [codepeople-post-map] or [my-post-map id="[wpv-post-id]"])
and looks like this:
<div id="cpm_DvRFKh" class="cpm-map" style="display:none; width:100%px; height:600px; clear:both; overflow:hidden; margin:10px auto;"></div><script type="text/javascript">
var cpm_global = cpm_global || {};
cpm_global['cpm_DvRFKh'] = {};
cpm_global['cpm_DvRFKh']['zoom'] = 10;
cpm_global['cpm_DvRFKh']['markers'] = new Array();
cpm_global['cpm_DvRFKh']['display'] = 'map';
cpm_global['cpm_DvRFKh']['highlight_class'] = '';
cpm_global['cpm_DvRFKh']['highlight'] = false;
cpm_global['cpm_DvRFKh']['type'] = 'ROADMAP';
cpm_global['cpm_DvRFKh']['mousewheel'] = false;
cpm_global['cpm_DvRFKh']['zoompancontrol'] = true;
cpm_global['cpm_DvRFKh']['typecontrol'] = true;
</script><script>
</script>
<noscript>
codepeople-post-map require JavaScript
</noscript>
<!– wpv-loop-end –>
if i use taxonomies with the standard loop (no view used)
its looking the same and the second script (which is empty in the source code above) is writing to the footer and outputs this:
<script>cpm_global["cpm_OiXnZd"]["markers"][0] =
{"address":"Meiringen, Schweiz",
"lat":"46.7273913",
"lng":"8.185877300000016",
"info":"<div class='cpm-infowindow'><div class='cpm-content'><a title='http://neu.ausflugsziele.ch/develop/index.php/ausflug/abenteuer-auf-dem-zwergenweg/' href='http://neu.ausflugsziele.ch/develop/index.php/ausflug/abenteuer-auf-dem-zwergenweg/'><img src='http://neu.ausflugsziele.ch/develop/wp-content/uploads/2013/03/bild867.jpg' align='right' style='margin:8px 0 0 8px; width:90px; height:90px'/></a><a class='title' href='http://neu.ausflugsziele.ch/develop/index.php/ausflug/abenteuer-auf-dem-zwergenweg/'>Abenteuer auf dem Zwergenweg</a><div class='address'>Meiringen, Schweiz</div><div class='description'>Die Haslizwerge haben in unserem Tal eine lange Tradition und [...]</div><a href='http://neu.ausflugsziele.ch/develop/index.php/ausflug/abenteuer-auf-dem-zwergenweg/' class='more'>more »</a></div><div style='clear:both;'></div></div>",
"open":"false",
"icon":"http://neu.ausflugsziele.ch/develop/wp-content/plugins/codepeople-post-map/images/icons/marker.png",
"post":"30319"};cpm_global["cpm_OiXnZd"]["markers"][1] =
{"address":"Leistkammstrasse, 8873 Amden, Schweiz",
"lat":"47.1525528",
"lng":"9.198731800000019",
"info":"<div class='cpm-infowindow'><div class='cpm-content'><a title='http://neu.ausflugsziele.ch/develop/index.php/ausflug/ein-bisschen-sport-aber-nicht-zu-viel-velotour-walensee/' href='http://neu.ausflugsziele.ch/develop/index.php/ausflug/ein-bisschen-sport-aber-nicht-zu-viel-velotour-walensee/'><img src='http://neu.ausflugsziele.ch/develop/wp-content/uploads/2013/03/bild345-260×196.jpg' align='right' style='margin:8px 0 0 8px; width:90px; height:90px'/></a><a class='title' href='http://neu.ausflugsziele.ch/develop/index.php/ausflug/ein-bisschen-sport-aber-nicht-zu-viel-velotour-walensee/'>Ein bisschen Sport, aber nicht zu viel – Velotour Walensee</a><div class='address'>Leistkammstrasse, 8873 Amden, Schweiz</div><div class='description'>Dieses Tageserlebnis eignet sich für alle, die ein bisschen Sport [...]</div><a href='http://neu.ausflugsziele.ch/develop/index.php/ausflug/ein-bisschen-sport-aber-nicht-zu-viel-velotour-walensee/' class='more'>more »</a></div><div style='clear:both;'></div></div>",
"open":"false",
"icon":"http://neu.ausflugsziele.ch/develop/wp-content/plugins/codepeople-post-map/images/icons/marker.png",
"post":"28221"};cpm_global["cpm_OiXnZd"]["markers"][2] =
{"address":"8877 Murg, Schweiz",
"lat":"47.06493580000001",
"lng":"9.19546379999997",
"info":"<div class='cpm-infowindow'><div class='cpm-content'><a title='http://neu.ausflugsziele.ch/develop/index.php/ausflug/velofahren-segeln-und-ein-leckeres-barbecue/' href='http://neu.ausflugsziele.ch/develop/index.php/ausflug/velofahren-segeln-und-ein-leckeres-barbecue/'><img src='http://neu.ausflugsziele.ch/develop/wp-content/uploads/2013/03/bild540-260×196.jpg' align='right' style='margin:8px 0 0 8px; width:90px; height:90px'/></a><a class='title' href='http://neu.ausflugsziele.ch/develop/index.php/ausflug/velofahren-segeln-und-ein-leckeres-barbecue/'>Velofahren, segeln und ein leckeres Barbecue</a><div class='address'>8877 Murg, Schweiz</div><div class='description'>Eine gemütliche Velotour, ein schmackhaftes Barbecue unter freiem Himmel und [...]</div><a href='http://neu.ausflugsziele.ch/develop/index.php/ausflug/velofahren-segeln-und-ein-leckeres-barbecue/' class='more'>more »</a></div><div style='clear:both;'></div></div>",
"open":"false",
"icon":"http://neu.ausflugsziele.ch/develop/wp-content/plugins/codepeople-post-map/images/icons/marker.png",
"post":"28177"};</script><script type='text/javascript' src='http://neu.ausflugsziele.ch/develop/wp-includes/js/admin-bar.min.js?ver=3.5.1'></script>
maybe you have an idea?
thank you and kind regards
Reply To: [Assigned] Major problem with datepicker custom field
Dear Kristin,
Thank you for provide a screencast, It's very useful for explain! So please enable the debugging mode http://wp-types.com/documentation/user-guides/debugging-types-and-views/
In your case the javascript debugging is most important, i think that any other jquery script is conflicting with Types.
Reply To: [Assigned] CRED Conditional Group issue (not displaying field options in dropdown)
Dear Mike,
Yes please, send to adriano.f@icanlocalize.com
Reply To: [Assigned] How to filter by year
Dear Kristin,
You forgot of say what is the value of the $year. You just need to set it like this:
[wpv-if year="2012" evaluate="'[types field="publication-date" format="Y" style="text"][/types]' = '$year"]
Please let me know if you are satisfied with my answer and if I can help you with any other questions you might have.
Reply To: [Assigned] Help with Pagination
Dear Daniella,
Great! So replace your code with:
add_shortcode( 'wpv-post-getpaged', 'wpv_getpaged');
function wpv_getpaged(){
if(($_GET['wpv_paged'] == '') || ($_GET['wpv_paged'] == '1')){
return('0');
}else{
return('1');
}
}
Please let me know if you are satisfied with my answer and if I can help you with any other questions you might have.
Reply To: [Assigned] codepeople post map plugin
Dear Caridad
I take a look to the functions.php from the plugin. Maybe this part can give you an idea.
I think this could be the lines which are not correspondig with the view. (maybe, i really have no idea)
/*
* Generates the javascript code of map points, only called from webpage of multiples posts
*/
function print_points(){
if(!is_single() && $this->flush_map)
print "<script>".$this->points_str."</script>";
} // End print_points
thank you
Reply To: [Assigned] CRED Delete Post not working (V. 1.1.3)
Dear russellV,
It's sounds like a compatibility issue, please disable all plugins except the Toolset and set a default wordpress theme and let me know if this error still appears.
Reply To: [Assigned] codepeople post map plugin
Dear Adnan,
I tried this local and it worked. What does your Meta HTML look like? Also, try enabling WP_DEBUG in wp-config.php to see if we get some error messages.
Regards,
Caridad
Reply To: [Assigned] Add commas to view loop results
Dear Benjamin,
What plugin version you use? In version 1.2 this works normal (without commas in last query result).
Please let me know if you are satisfied with my answer and if I can help you with any other questions you might have.
Reply To: I want to display custom fields without Views plugin
Dear richardv,
You can use something like this:
<?php
/* Template Name: Customers */
get_header(); ?>
<div id="content" role="main">
<?php while ( have_posts() ) : the_post(); ?>
Name of the fields: <?php echo get_post_meta($post->ID, 'wpcf-name-of-the-field', true); ?>
<?php endwhile; // end of the loop. ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Please let me know if you are satisfied with my answer and if I can help you with any other questions you might have.