Skip to content

Instantly share code, notes, and snippets.

@vbaimas
Created September 18, 2019 10:26
Show Gist options
  • Select an option

  • Save vbaimas/82cf37cf7d57e38bde02f715052b45e2 to your computer and use it in GitHub Desktop.

Select an option

Save vbaimas/82cf37cf7d57e38bde02f715052b45e2 to your computer and use it in GitHub Desktop.

Revisions

  1. vbaimas created this gist Sep 18, 2019.
    1 change: 1 addition & 0 deletions Get the permalink for a page by parent,child
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    <a href="<?php echo get_permalink( get_page_by_path( 'about/skills' ) ) ?>">Skills</a