{"id":28668,"date":"2018-08-02T00:00:00","date_gmt":"2018-08-01T18:30:00","guid":{"rendered":"https:\/\/git-staging.wpastra.com\/?post_type=docs&#038;p=28668"},"modified":"2021-05-01T12:19:05","modified_gmt":"2021-05-01T06:49:05","slug":"learndash-shortcode-for-profile-link","status":"publish","type":"docs","link":"https:\/\/git-staging.wpastra.com\/es\/docs\/learndash-shortcode-for-profile-link\/","title":{"rendered":"LearnDash Shortcode para a\u00f1adir enlace de perfil"},"content":{"rendered":"<p>Se trata de una funci\u00f3n premium disponible con <strong>Complemento Astra Pro<\/strong> plugin. Para utilizar estas funciones Pro, debe disponer de la licencia <a href=\"https:\/\/wordpress.org\/themes\/astra\/\">Tema Astra<\/a> junto con el Addon Astra Pro instalado en su sitio web.<\/p>\n\n\n\n<p>Puede conseguir mostrar un enlace de perfil mediante un shortcode LearnDash utilizando el m\u00f3dulo LearnDash disponible con Astra Pro. Consulte <a href=\"https:\/\/git-staging.wpastra.com\/es\/docs\/astra-compatibility-with-learndash-3-0\/\">documento<\/a>Para empezar, el m\u00f3dulo LearnDash.<\/p>\n\n\n\n<p><strong>Complemento Astra Pro<\/strong> proporciona un <strong>c\u00f3digo corto <\/strong>para LearnDash que permite mostrar el enlace del perfil. El shortcode se puede utilizar en cualquier lugar en el sitio web. Se mostrar\u00e1 una imagen de perfil para los estudiantes conectados. Al hacer clic en \u00e9l se mostrar\u00e1n los detalles del perfil del estudiante.<\/p>\n\n\n\n<p>En <strong>LearnDash<\/strong> en el complemento Astra Pro Addon proporciona un shortcode&nbsp;<code>[astra_learndash_profile_link]<\/code> Esto se puede utilizar en varios lugares como cabecera, pie de p\u00e1gina, barra lateral, widgets, constructores de p\u00e1gina, etc.<\/p>\n\n\n\n<p>Para utilizar el shortcode, activa el addon LearnDash desde Opciones Astra. (<a href=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2019\/10\/ast-2-options-leardash-setting.png\">captura de pantalla<\/a>)<\/p>\n\n\n\n<p><code>[astra_learndash_profile_link]<\/code> tiene un atributo '<strong>enlace<\/strong>&nbsp;que se abrir\u00e1 al hacer clic en la foto de perfil.<\/p>\n\n\n\n<p>Por ejemplo <code>[astra_learndash_profile_link link=\"https:\/\/www.google.com\"]<\/code>&nbsp;Este shortcode mostrar\u00e1 una foto de perfil para el estudiante conectado. Al hacer clic, ser\u00e1 redirigido al enlace insertado, es decir, a https:\/\/www.google.com.<\/p>\n\n\n\n<p>A continuaci\u00f3n se muestra el ejemplo que muestra c\u00f3mo se puede utilizar este shortcode -<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u00bfC\u00f3mo mostrar el enlace del perfil de Learndash en el encabezado principal?<\/h4>\n\n\n\n<p>A continuaci\u00f3n se detallan los pasos -<\/p>\n\n\n\n<p><strong>Paso 1 - <\/strong>Aseg\u00farate de activar el plugin LearnDash y Astra Pro. Active LearnDash Addon desde las opciones de Astra. (<a href=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2019\/10\/ast-2-options-leardash-setting.png\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (se abre en una nueva pesta\u00f1a)\">captura de pantalla<\/a>)<\/p>\n\n\n\n<p><strong>Paso 2 -<\/strong> Desde el panel de control de WordPress, vaya a <strong>Apariencia &gt; Personalizar &gt; Encabezado &gt; Men\u00fa principal.<\/strong><\/p>\n\n\n\n<p><strong>Paso 3 -<\/strong> Desde el<strong>&nbsp;\u00daltimo elemento del men\u00fa <\/strong>seleccione Texto \/ HTML.<\/p>\n\n\n\n<p><strong>Paso 4 - <\/strong>Pegue el c\u00f3digo en el \u00e1rea de entrada. El enlace del perfil aparecer\u00e1 en la cabecera como se muestra a continuaci\u00f3n -<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/04\/ast-3-3-learndash-shortcode-profile.png\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1366\" height=\"715\" src=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/04\/ast-3-3-learndash-shortcode-profile.png\" alt=\"LearnDash Profile Shortcode, Astra 3.0+\" class=\"wp-image-85463\" srcset=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/04\/ast-3-3-learndash-shortcode-profile.png 1366w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/04\/ast-3-3-learndash-shortcode-profile-300x157.png 300w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/04\/ast-3-3-learndash-shortcode-profile-1024x536.png 1024w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/04\/ast-3-3-learndash-shortcode-profile-768x402.png 768w\" sizes=\"(max-width: 1366px) 100vw, 1366px\" \/><\/a><\/figure><\/div>","protected":false},"excerpt":{"rendered":"<p>Esta es una caracter\u00edstica Premium disponible con el plugin Astra Pro Addon. Para utilizar estas caracter\u00edsticas Pro, es necesario tener el tema Astra junto con el Astra Pro Addon instalado en su sitio web. Usted puede lograr mostrar un enlace de perfil utilizando un shortcode LearnDash utilizando LearnDash m\u00f3dulo disponible con Astra Pro. Por favor, consulte el documento [...]<\/p>","protected":false},"author":20,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"docs_category":[108,158],"docs_tag":[],"class_list":{"0":"post-28668","1":"docs","2":"type-docs","3":"status-publish","5":"docs_category-general","6":"docs_category-learndash-astra-pro-modules"},"spectra_custom_meta":{"_yoast_wpseo_primary_docs_category":["108"],"_wp_old_slug":[""],"_wp_page_template":["default"],"_edit_lock":["1617737047:70"],"_edit_last":["70"],"onesignal_meta_box_present":["1"],"onesignal_send_notification":[""],"site-sidebar-layout":["default"],"site-content-layout":["default"],"theme-transparent-header-meta":["default"],"_yoast_wpseo_content_score":["30"],"wpil_links_inbound_internal_count_data":["a:0:{}"],"wpil_links_outbound_internal_count_data":["a:0:{}"],"wpil_links_outbound_external_count_data":["a:5:{i:0;O:15:\"Wpil_Model_Link\":6:{s:3:\"url\";s:35:\"https:\/\/wordpress.org\/themes\/astra\/\";s:4:\"host\";s:13:\"wordpress.org\";s:8:\"internal\";b:0;s:4:\"post\";N;s:6:\"anchor\";s:11:\"Astra theme\";s:15:\"added_by_plugin\";b:0;}i:1;O:15:\"Wpil_Model_Link\":6:{s:3:\"url\";s:64:\"https:\/\/wpastra.com\/docs\/astra-compatibility-with-learndash-3-0\/\";s:4:\"host\";s:11:\"wpastra.com\";s:8:\"internal\";b:0;s:4:\"post\";N;s:6:\"anchor\";s:8:\"document\";s:15:\"added_by_plugin\";b:0;}i:2;O:15:\"Wpil_Model_Link\":6:{s:3:\"url\";s:81:\"https:\/\/wpastra.com\/wp-content\/uploads\/2019\/10\/ast-2-options-leardash-setting.png\";s:4:\"host\";s:11:\"wpastra.com\";s:8:\"internal\";b:0;s:4:\"post\";N;s:6:\"anchor\";s:10:\"screenshot\";s:15:\"added_by_plugin\";b:0;}i:3;O:15:\"Wpil_Model_Link\":6:{s:3:\"url\";s:81:\"https:\/\/wpastra.com\/wp-content\/uploads\/2019\/10\/ast-2-options-leardash-setting.png\";s:4:\"host\";s:11:\"wpastra.com\";s:8:\"internal\";b:0;s:4:\"post\";N;s:6:\"anchor\";s:10:\"screenshot\";s:15:\"added_by_plugin\";b:0;}i:4;O:15:\"Wpil_Model_Link\":6:{s:3:\"url\";s:79:\"https:\/\/wpastra.com\/wp-content\/uploads\/2019\/08\/ast-2-menu-learndash-profile.png\";s:4:\"host\";s:11:\"wpastra.com\";s:8:\"internal\";b:0;s:4:\"post\";N;s:6:\"anchor\";s:122:\"<img src=\"https:\/\/wpastra.com\/wp-content\/uploads\/2019\/08\/ast-2-menu-learndash-profile.png\" alt=\"\" class=\"wp-image-39216\"\/>\";s:15:\"added_by_plugin\";b:0;}}"],"tap_disable_autolinker":["no"],"tap_autolink_inside_heading":["global"],"tap_autolink_random_placement":["global"],"tap_post_autolinker_limit":["0"],"wpil_sync_report3":["1"],"wpil_links_inbound_internal_count":["0"],"wpil_links_outbound_internal_count":["0"],"wpil_links_outbound_external_count":["5"],"wpil_sync_report2_time":["2019-10-18T13:10:22+00:00"],"_ppc_meta_key":["a:8:{s:20:\"ppc_key5d92f85d42273\";s:60:\"Images &amp; Names Correctly. Title &amp; Alt Tags are Given\";s:8:\"ppc_key4\";s:15:\"Formatting Done\";s:8:\"ppc_key2\";s:23:\"Featured Image Assigned\";s:8:\"ppc_key3\";s:17:\"Category Selected\";s:8:\"ppc_key5\";s:15:\"Title is Catchy\";s:8:\"ppc_key6\";s:22:\"Social Images Assigned\";s:8:\"ppc_key7\";s:8:\"Done SEO\";s:8:\"ppc_key8\";s:28:\"Spelling and Grammar Checked\";}"],"_yoast_wpseo_title":["How to Display a Learndash Profile Link Using Shortcode in Astra?"],"_yoast_wpseo_estimated-reading-time-minutes":["2"],"_ht_kb_post_views_count":["8"],"_ht_kb_usefulness":["0"],"_ht_article_order_108":["28668"],"_ht_article_order_158":["28668"],"wp_last_modified_info":["May 1, 2021 @ 12:19 PM"],"wplmi_shortcode":["[lmt-post-modified-info]"],"views":["4388"],"helpful":["1"],"unhelpful":["4"],"redirects":["0"],"rank_math_primary_docs_category":["108"],"rank_math_title":["How to Display a Learndash Profile Link Using Shortcode in Astra?"],"rank_math_news_sitemap_robots":["index"],"rank_math_robots":["a:1:{i:0;s:5:\"index\";}"],"rank_math_analytic_object_id":["1046"],"rank_math_internal_links_processed":["1"],"rank_math_og_content_image":["a:2:{s:5:\"check\";s:32:\"fa43d41665d5525dea8c5d8d64883ce7\";s:6:\"images\";a:1:{i:0;i:85463;}}"],"_wpml_media_duplicate":["1"],"_trp_automatically_translated_slug_es_ES":["learndash-shortcode-para-enlace-de-perfil"],"_uag_page_assets":["a:9:{s:3:\"css\";s:2495:\".wp-block-uagb-container.uagb-block-debf2792 .uagb-container__shape-top svg{width: calc( 100% + 1.3px );}.wp-block-uagb-container.uagb-block-debf2792 .uagb-container__shape.uagb-container__shape-top .uagb-container__shape-fill{fill: rgba(51,51,51,1);}.wp-block-uagb-container.uagb-block-debf2792 .uagb-container__shape-bottom svg{width: calc( 100% + 1.3px );}.wp-block-uagb-container.uagb-block-debf2792 .uagb-container__shape.uagb-container__shape-bottom .uagb-container__shape-fill{fill: rgba(51,51,51,1);}.wp-block-uagb-container.uagb-block-debf2792 .uagb-container__video-wrap video{opacity: 1;}.wp-block-uagb-container.uagb-is-root-container .uagb-block-debf2792{max-width: 100%;width: 100%;}.wp-block-uagb-container.uagb-is-root-container.alignfull.uagb-block-debf2792 > .uagb-container-inner-blocks-wrap{--inner-content-custom-width: min( 100%, 1200px);max-width: var(--inner-content-custom-width);width: 100%;flex-direction: column;align-items: center;justify-content: center;flex-wrap: nowrap;row-gap: 0px;column-gap: 0px;}.wp-block-uagb-container.uagb-block-debf2792{box-shadow: 0px 0px   #00000070 ;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;margin-top: 0px !important;margin-bottom: 0px !important;margin-left: 0px;margin-right: 0px;overflow: visible;border-color: inherit;row-gap: 0px;column-gap: 0px;}@media only screen and (max-width: 976px) {.wp-block-uagb-container.uagb-is-root-container .uagb-block-debf2792{width: 100%;}.wp-block-uagb-container.uagb-is-root-container.alignfull.uagb-block-debf2792 > .uagb-container-inner-blocks-wrap{--inner-content-custom-width: min( 100%, 1024px);max-width: var(--inner-content-custom-width);width: 100%;}.wp-block-uagb-container.uagb-block-debf2792{padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;margin-top: 0px !important;margin-bottom: 0px !important;margin-left: 0px;margin-right: 0px;}}@media only screen and (max-width: 767px) {.wp-block-uagb-container.uagb-is-root-container .uagb-block-debf2792{max-width: 100%;width: 100%;}.wp-block-uagb-container.uagb-is-root-container.alignfull.uagb-block-debf2792 > .uagb-container-inner-blocks-wrap{--inner-content-custom-width: min( 100%, 767px);max-width: var(--inner-content-custom-width);width: 100%;flex-wrap: wrap;}.wp-block-uagb-container.uagb-block-debf2792{padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;margin-top: 0px !important;margin-bottom: 0px !important;margin-left: 0px;margin-right: 0px;}}\";s:2:\"js\";s:0:\"\";s:18:\"current_block_list\";a:5:{i:0;s:14:\"core\/paragraph\";i:1;s:12:\"core\/heading\";i:2;s:10:\"core\/image\";i:3;s:14:\"uagb\/container\";i:4;s:14:\"core\/shortcode\";}s:8:\"uag_flag\";b:1;s:11:\"uag_version\";s:10:\"1776549024\";s:6:\"gfonts\";a:0:{}s:10:\"gfonts_url\";s:0:\"\";s:12:\"gfonts_files\";a:0:{}s:14:\"uag_faq_layout\";b:0;}"]},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"trp-custom-language-flag":false},"uagb_author_info":{"display_name":"Anjali","author_link":"https:\/\/git-staging.wpastra.com\/es\/author\/anjalic\/"},"uagb_comment_info":0,"uagb_excerpt":"This is a premium feature available with Astra Pro Addon plugin. To use these Pro features, you need to have the Astra theme along with the Astra Pro Addon installed on your website. You can achieve displaying a Profile Link using a LearnDash shortcode using LearnDash module available with Astra Pro. Please refer document, to&hellip;","_links":{"self":[{"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs\/28668"}],"collection":[{"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/comments?post=28668"}],"version-history":[{"count":0,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs\/28668\/revisions"}],"wp:attachment":[{"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/media?parent=28668"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs_category?post=28668"},{"taxonomy":"docs_tag","embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs_tag?post=28668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}