Skip to content

Instantly share code, notes, and snippets.

@vbaimas
Last active September 18, 2019 10:22
Show Gist options
  • Select an option

  • Save vbaimas/4753c1cd9be931870af4fb206e3faaef to your computer and use it in GitHub Desktop.

Select an option

Save vbaimas/4753c1cd9be931870af4fb206e3faaef to your computer and use it in GitHub Desktop.

Revisions

  1. vbaimas revised this gist Sep 18, 2019. No changes.
  2. vbaimas renamed this gist Sep 18, 2019. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. vbaimas revised this gist Sep 18, 2019. No changes.
  4. vbaimas revised this gist Sep 18, 2019. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion page_by_title
    Original file line number Diff line number Diff line change
    @@ -1 +0,0 @@
    <a href="<?php echo get_permalink( get_page_by_title( 'about' ) ); ?>">About Me</a>
  5. vbaimas revised this gist Sep 18, 2019. No changes.
  6. vbaimas revised this gist Sep 18, 2019. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions page by name
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    <a href="<?php echo get_permalink( get_page_by_path( 'About' ) ) ?>">About Me</a>
  7. vbaimas renamed this gist Sep 18, 2019. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  8. vbaimas created this gist Sep 18, 2019.
    1 change: 1 addition & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    <a href="<?php echo get_permalink( get_page_by_title( 'about' ) ); ?>">About Me</a>