﻿<?
include "custom_post_oshito/custom-oshito.php";

$argumentos[0] = array(
	'nombre_custom'		=>	'film',
	'editor'			=>	false,
	'imagen_destacada'	=>	true,
	'resumen'			=>	false,
	'label'				=>	'Película',
	'taxonomia_propia'	=>	array('nombre'=>"tipo_pelicula", "descripcion"=>"Tipo de película"),
	'metabox'			=>	array(
								array('nombre'=>"ficha", "tipo"=>"texto_complejo", "descripcion"=>"Ficha Técnica"),
								array('nombre'=>"sinopsis", "tipo"=>"texto_complejo", "descripcion"=>"Sinopsis"),
							)
);



crear_custom($argumentos);

eliminar_proyectos_divi();

function elemento_listado_custom($nombre){
	?>
	<div onclick="location.href='<? the_permalink(); ?>';" >
		<div class="imagen"></div>
		<div class="titulo"><h2><? the_title(); ?></h2></div>
	</div>
	<?
    }

add_shortcode('listar_custom', 'listar_custom_funcion');

function mostrar_pelicula_function($atts){ //adaptada a DIVI

	extract(shortcode_atts(array(
		'id'		=>	'810',


	), $atts));
	$thumbID = get_post_thumbnail_id( $id );
	$imgDestacada = wp_get_attachment_url( $thumbID );



	ob_start();
	?>
	<div class="programa_dia">
		<a href="<? echo get_the_permalink($id)?>">
			<h4><strong><? echo get_the_title($id);?></strong> (<?echo mostrar_term($id)?>)</h4>
			<div class="foto"><img src="<? echo $imgDestacada; ?>"/></div>
		</a>
	</div>
	<?



	$posts = ob_get_contents();

	ob_end_clean();

	return $posts;
}

add_shortcode('mostrar_pelicula', 'mostrar_pelicula_function');

function mostrar_term($id){
	$term_list = wp_get_post_terms($id, 'tipo_pelicula', array("fields" => "names"));
	return implode(", ", $term_list);
}

?>
{"id":317,"date":"2019-03-22T11:02:34","date_gmt":"2019-03-22T10:02:34","guid":{"rendered":"http:\/\/www.colectivotowanda.org\/zinentiendo19\/?page_id=317"},"modified":"2019-04-12T11:35:16","modified_gmt":"2019-04-12T09:35:16","slug":"amigxs-de-zinentiendo","status":"publish","type":"page","link":"https:\/\/colectivotowanda.org\/zinentiendo19\/amigxs-de-zinentiendo\/","title":{"rendered":"Amigxs de Zinentiendo"},"content":{"rendered":"<p>[et_pb_section fb_built=\u00bb1&#8243; _builder_version=\u00bb3.19.18&#8243; background_color=\u00bb#282828&#8243; locked=\u00bboff\u00bb][et_pb_row _builder_version=\u00bb3.19.18&#8243;][et_pb_column type=\u00bb4_4&#8243; _builder_version=\u00bb3.19.18&#8243;][et_pb_text _builder_version=\u00bb3.19.18&#8243; header_font=\u00bb||||||||\u00bb header_text_align=\u00bbcenter\u00bb header_text_color=\u00bb#ffffff\u00bb header_font_size=\u00bb50px\u00bb]<\/p>\n<h1>Zinentiendo 2019<\/h1>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=\u00bb1&#8243; module_class=\u00bbzinentiendo_amigxs\u00bb _builder_version=\u00bb3.19.18&#8243; background_color=\u00bb#e94f02&#8243; top_divider_style=\u00bbslant\u00bb top_divider_color=\u00bb#282828&#8243; locked=\u00bboff\u00bb][et_pb_row custom_margin=\u00bb50px||\u00bb _builder_version=\u00bb3.21.1&#8243;][et_pb_column type=\u00bb1_4&#8243; _builder_version=\u00bb3.19.18&#8243;][et_pb_text _builder_version=\u00bb3.19.18&#8243; header_font=\u00bb||||||||\u00bb header_text_align=\u00bbright\u00bb header_text_color=\u00bb#ffffff\u00bb]<\/p>\n<h1>Amigxs de Zinentiendo<\/h1>\n<p>[\/et_pb_text][et_pb_image src=\u00bbhttps:\/\/colectivotowanda.org\/zinentiendo19\/wp-content\/uploads\/sites\/4\/2019\/03\/personaje_2.png\u00bb _builder_version=\u00bb3.21.1&#8243; custom_padding=\u00bb25px||\u00bb][\/et_pb_image][\/et_pb_column][et_pb_column type=\u00bb3_4&#8243; _builder_version=\u00bb3.19.18&#8243;][et_pb_text _builder_version=\u00bb3.21.1&#8243; text_font=\u00bb||||||||\u00bb text_text_color=\u00bb#ffffff\u00bb background_color=\u00bb#d44700&#8243; border_width_all=\u00bb1px\u00bb border_color_all=\u00bb#d44700&#8243; custom_margin=\u00bb115px||\u00bb custom_padding=\u00bb10px|15px|10px|15px|true|true\u00bb locked=\u00bboff\u00bb]<\/p>\n<p>Lxs que entendemos el mundo de otra manera, lxs que creemos en otra sociedad transfeminista, diversa, libre, somos muchxs. Somos manada. Somos m\u00e1s. Y se tiene que notar.<\/p>\n<p>En Zinentiendo lo creemos as\u00ed, y lo queremos as\u00ed.<\/p>\n<p>Por eso, mantenemos la secci\u00f3n Amigxs de Zinentiendo, que inauguramos la edici\u00f3n pasada. Cada sesi\u00f3n traeremos a un\/una\/une invitadx, que vendr\u00e1 a contarnos lo que hace, y a compartir con nosotrxs sus experiencias.<\/p>\n<p>No est\u00e1n todxs los que son, pero desde luego son todxs los que est\u00e1n.<\/p>\n<p>\u00bfQu\u00e9 quienes son lxs amigxs Zinentiendo esta edici\u00f3n?<\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section fb_built=\u00bb1&#8243; _builder_version=\u00bb3.21.1&#8243; top_divider_style=\u00bbslant\u00bb top_divider_color=\u00bb#e94f02&#8243;][et_pb_row custom_margin=\u00bb50px||\u00bb _builder_version=\u00bb3.21.1&#8243;][et_pb_column type=\u00bb3_5&#8243; _builder_version=\u00bb3.19.18&#8243;][et_pb_text _builder_version=\u00bb3.21.1&#8243; header_font=\u00bb||||||||\u00bb header_text_align=\u00bbleft\u00bb header_text_color=\u00bb#282828&#8243; header_3_font=\u00bb||||||||\u00bb header_3_text_align=\u00bbcenter\u00bb header_3_text_color=\u00bb#282828&#8243; header_3_font_size=\u00bb20px\u00bb]<\/p>\n<h3><strong>C.A.M.P.A.<\/strong><\/h3>\n<p>[\/et_pb_text][et_pb_text _builder_version=\u00bb3.21.1&#8243; text_font=\u00bb||||||||\u00bb text_text_color=\u00bb#282828&#8243; custom_padding=\u00bb10px|15px|10px|15px|true|true\u00bb locked=\u00bboff\u00bb]<\/p>\n<p>C.A.M.P.A. es el Colectivo de Apoyo a Mujeres Presas en Arag\u00f3n, formado<br \/> hace cinco a\u00f1os en el contexto de la XIII Marcha a Zuera. Es ah\u00ed donde<br \/> un grupo de mujeres decidimos crear un colectivo dedicado al campo de<br \/> acci\u00f3n de la lucha anticarcelaria, de denuncia y cr\u00edtica al sistema<br \/> penal y penitenciario y de apoyo a las mujeres presas y ex presas y sus<br \/> allegadxs.<\/p>\n<p>[\/et_pb_text][\/et_pb_column][et_pb_column type=\u00bb2_5&#8243; _builder_version=\u00bb3.19.18&#8243;][et_pb_image src=\u00bbhttps:\/\/colectivotowanda.org\/zinentiendo19\/wp-content\/uploads\/sites\/4\/2019\/03\/Campa.jpg\u00bb _builder_version=\u00bb3.21.1&#8243; border_radii=\u00bbon|5px|5px|5px|5px\u00bb max_width=\u00bb80%\u00bb module_alignment=\u00bbleft\u00bb custom_margin=\u00bb65px||\u00bb][\/et_pb_image][\/et_pb_column][\/et_pb_row][et_pb_row custom_margin=\u00bb50px||\u00bb _builder_version=\u00bb3.21.1&#8243;][et_pb_column type=\u00bb3_5&#8243; _builder_version=\u00bb3.19.18&#8243;][et_pb_text _builder_version=\u00bb3.21.1&#8243; header_font=\u00bb||||||||\u00bb header_text_align=\u00bbleft\u00bb header_text_color=\u00bb#282828&#8243; header_3_font=\u00bb||||||||\u00bb header_3_text_align=\u00bbcenter\u00bb header_3_text_color=\u00bb#282828&#8243; header_3_font_size=\u00bb20px\u00bb]<\/p>\n<h3><strong>AMPGIL Arag\u00f3n<\/strong><\/h3>\n<p>[\/et_pb_text][et_pb_text _builder_version=\u00bb3.21.1&#8243; text_font=\u00bb||||||||\u00bb text_text_color=\u00bb#282828&#8243; custom_margin=\u00bb40px||\u00bb custom_padding=\u00bb10px|15px|10px|15px|true|true\u00bb locked=\u00bboff\u00bb]<\/p>\n<p>La \u00abAsociaci\u00f3n de Familias contra la Intolerancia X G\u00e9nero\u00bb, anteriormente Asociaci\u00f3n de Madres y Padres de Gays, Lesbianas, Transexuales y Bisexuales (AMPGYL) es una asociaci\u00f3n, de \u00e1mbito estatal, que naci\u00f3 en el a\u00f1o 2002 fruto de la voluntad de la asociaci\u00f3n catalana AMPGIL (creada en 1994) y de unos padres y madres de Madrid y Zaragoza dispuestos a ayudarse mutuamente a comprender la realidad de sus hijos e hijas, a ayudarles en su lucha contra la discriminaci\u00f3n y a ser un punto de referencia para otras familias. Desde el a\u00f1o 2007, AMPGYL ha ido extendi\u00e9ndose a otras comunidades de todo el Estado, en buena medida gracias al \u00edmpetu que han suscitado las jornadas que anualmente organiza la asociaci\u00f3n.<\/p>\n<p>[\/et_pb_text][\/et_pb_column][et_pb_column type=\u00bb2_5&#8243; _builder_version=\u00bb3.19.18&#8243;][et_pb_image src=\u00bbhttps:\/\/colectivotowanda.org\/zinentiendo19\/wp-content\/uploads\/sites\/4\/2019\/03\/ampgyl.png\u00bb _builder_version=\u00bb3.21.1&#8243; border_radii=\u00bbon|5px|5px|5px|5px\u00bb max_width=\u00bb80%\u00bb module_alignment=\u00bbleft\u00bb custom_margin=\u00bb130px||\u00bb][\/et_pb_image][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Zinentiendo 2019Amigxs de ZinentiendoLxs que entendemos el mundo de otra manera, lxs que creemos en otra sociedad transfeminista, diversa, libre, somos muchxs. Somos manada. Somos m\u00e1s. Y se tiene que notar. En Zinentiendo lo creemos as\u00ed, y lo queremos as\u00ed. Por eso, mantenemos la secci\u00f3n Amigxs de Zinentiendo, que inauguramos la edici\u00f3n pasada. Cada sesi\u00f3n [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"class_list":["post-317","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Amigxs de Zinentiendo - Zinentiendo 2019<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/colectivotowanda.org\/zinentiendo19\/amigxs-de-zinentiendo\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Amigxs de Zinentiendo - Zinentiendo 2019\" \/>\n<meta property=\"og:description\" content=\"Zinentiendo 2019Amigxs de ZinentiendoLxs que entendemos el mundo de otra manera, lxs que creemos en otra sociedad transfeminista, diversa, libre, somos muchxs. Somos manada. Somos m\u00e1s. Y se tiene que notar. En Zinentiendo lo creemos as\u00ed, y lo queremos as\u00ed. Por eso, mantenemos la secci\u00f3n Amigxs de Zinentiendo, que inauguramos la edici\u00f3n pasada. Cada sesi\u00f3n [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/colectivotowanda.org\/zinentiendo19\/amigxs-de-zinentiendo\/\" \/>\n<meta property=\"og:site_name\" content=\"Zinentiendo 2019\" \/>\n<meta property=\"article:modified_time\" content=\"2019-04-12T09:35:16+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/colectivotowanda.org\/zinentiendo19\/amigxs-de-zinentiendo\/\",\"url\":\"https:\/\/colectivotowanda.org\/zinentiendo19\/amigxs-de-zinentiendo\/\",\"name\":\"Amigxs de Zinentiendo - Zinentiendo 2019\",\"isPartOf\":{\"@id\":\"https:\/\/colectivotowanda.org\/zinentiendo19\/#website\"},\"datePublished\":\"2019-03-22T10:02:34+00:00\",\"dateModified\":\"2019-04-12T09:35:16+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/colectivotowanda.org\/zinentiendo19\/amigxs-de-zinentiendo\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/colectivotowanda.org\/zinentiendo19\/amigxs-de-zinentiendo\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/colectivotowanda.org\/zinentiendo19\/amigxs-de-zinentiendo\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\/\/colectivotowanda.org\/zinentiendo19\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Amigxs de Zinentiendo\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/colectivotowanda.org\/zinentiendo19\/#website\",\"url\":\"https:\/\/colectivotowanda.org\/zinentiendo19\/\",\"name\":\"Zinentiendo 2019\",\"description\":\"Muestra Internacional de cine LGTBQI\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/colectivotowanda.org\/zinentiendo19\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Amigxs de Zinentiendo - Zinentiendo 2019","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/colectivotowanda.org\/zinentiendo19\/amigxs-de-zinentiendo\/","og_locale":"es_ES","og_type":"article","og_title":"Amigxs de Zinentiendo - Zinentiendo 2019","og_description":"Zinentiendo 2019Amigxs de ZinentiendoLxs que entendemos el mundo de otra manera, lxs que creemos en otra sociedad transfeminista, diversa, libre, somos muchxs. Somos manada. Somos m\u00e1s. Y se tiene que notar. En Zinentiendo lo creemos as\u00ed, y lo queremos as\u00ed. Por eso, mantenemos la secci\u00f3n Amigxs de Zinentiendo, que inauguramos la edici\u00f3n pasada. Cada sesi\u00f3n [&hellip;]","og_url":"https:\/\/colectivotowanda.org\/zinentiendo19\/amigxs-de-zinentiendo\/","og_site_name":"Zinentiendo 2019","article_modified_time":"2019-04-12T09:35:16+00:00","twitter_card":"summary_large_image","twitter_misc":{"Tiempo de lectura":"4 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/colectivotowanda.org\/zinentiendo19\/amigxs-de-zinentiendo\/","url":"https:\/\/colectivotowanda.org\/zinentiendo19\/amigxs-de-zinentiendo\/","name":"Amigxs de Zinentiendo - Zinentiendo 2019","isPartOf":{"@id":"https:\/\/colectivotowanda.org\/zinentiendo19\/#website"},"datePublished":"2019-03-22T10:02:34+00:00","dateModified":"2019-04-12T09:35:16+00:00","breadcrumb":{"@id":"https:\/\/colectivotowanda.org\/zinentiendo19\/amigxs-de-zinentiendo\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/colectivotowanda.org\/zinentiendo19\/amigxs-de-zinentiendo\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/colectivotowanda.org\/zinentiendo19\/amigxs-de-zinentiendo\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/colectivotowanda.org\/zinentiendo19\/"},{"@type":"ListItem","position":2,"name":"Amigxs de Zinentiendo"}]},{"@type":"WebSite","@id":"https:\/\/colectivotowanda.org\/zinentiendo19\/#website","url":"https:\/\/colectivotowanda.org\/zinentiendo19\/","name":"Zinentiendo 2019","description":"Muestra Internacional de cine LGTBQI","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/colectivotowanda.org\/zinentiendo19\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"}]}},"_links":{"self":[{"href":"https:\/\/colectivotowanda.org\/zinentiendo19\/wp-json\/wp\/v2\/pages\/317","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/colectivotowanda.org\/zinentiendo19\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/colectivotowanda.org\/zinentiendo19\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/colectivotowanda.org\/zinentiendo19\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/colectivotowanda.org\/zinentiendo19\/wp-json\/wp\/v2\/comments?post=317"}],"version-history":[{"count":11,"href":"https:\/\/colectivotowanda.org\/zinentiendo19\/wp-json\/wp\/v2\/pages\/317\/revisions"}],"predecessor-version":[{"id":636,"href":"https:\/\/colectivotowanda.org\/zinentiendo19\/wp-json\/wp\/v2\/pages\/317\/revisions\/636"}],"wp:attachment":[{"href":"https:\/\/colectivotowanda.org\/zinentiendo19\/wp-json\/wp\/v2\/media?parent=317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}