• gen2023

    (@gen2023)


    Hello. Is it possible to show only pages linked to the parent. thanks a lot.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author tugbucket

    (@tugbucket)

    @gen2023 can you give me an example?

    Thread Starter gen2023

    (@gen2023)

    [mctagmap show_pages=”yes” descriptions=”yes” columns=”4″ width=”250px” show_navigation=”yes”]

    parent page new_blog(post_id=2012)
    it has child pages
    show only those pages that are linked to the parent

    [mctagmap show_posts=”yes” descriptions=”yes” columns=”4″ width=”250px” show_navigation=”yes” from_category=”et-ex-commodi, 360″]
    for example, you can show posts tied to one category. for the same meaning, you can show child pages tied to the parent

    Thread Starter gen2023

    (@gen2023)

    show_child_pages for post id
    maybe?

    Thread Starter gen2023

    (@gen2023)

    [mctagmap show_pages=”yes” child_of=”4831″ descriptions=”yes” columns=”1″ width=”100%” show_navigation=”yes”]

    displays all pages.
    if I understand this short code correctly, then it should display the child pages of the parent id.
    thanks

    Thread Starter gen2023

    (@gen2023)

    and one more question. I have a description on all pages. but it is not displayed if you use descroption=”yes” version of wordpress 5.9.2 Yoast SEO plugin. I solved this problem by outputting via $mctagmap_description = ‘<span class=”tagDescription”>’ . get_post_meta($tag->ID)[‘_yoast_wpseo_metadesc’][0] . ‘</span>’;

    in $tag->description the value does not get.
    in the tag variable there is such an array
    WP_Post Object ( [ID] => 4868 [post_author] => 2 [post_date] => 2022-04-05 16:19:31 [post_date_gmt] => 2022-04-05 13:19:31 [post_content] =>
    text [post_title] => first [post_excerpt] => mini_text [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => first [to_ping] => [pinged] => [post_modified] => 2022-04-05 16:42:05 [post_modified_gmt] => 2022-04-05 13:42:05 [post_content_filtered] => [post_parent] => 4831 [guid] => https: //url/?page_id=4868 [menu_order] => 0 [post_type] => page [post_mime_type] => [comment_count] => 0 [filter] => raw )

    Plugin Author tugbucket

    (@tugbucket)

    @gen2023 Please update to version 17.0.23 that should fix the child_of option.

    As for Yoast description… Page descriptions are not part of the WP core. I noted this in the FAQ: https://wordpress.org/plugins/multi-column-tag-map/#can%20the%20plugin%20include%20tags%20from%20%5Binsert%20plugin%20name%5D%3F

    AS you provided a solution to your issue, then you have been int he PHP source and should have seen this note:

    “You are free to modify this file but you should really create a folder in your
    themes directory called (exactly) multi-column-tag-map and then copy this file
    to that folder. Make your edits to the copy. If you make your edits to the
    file in the plugins folder, all your edits will be overwritten if you update.”

    So you can freely extend the plugin to query anything in your database.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘pages linked to parent’ is closed to new replies.