GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - bacoords/example-query-loop-button: Add Custom Fields to Buttons in the Query Loop

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
build
build
 
 
src
src
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
example-query-loop-button.php
example-query-loop-button.php
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
readme.md
readme.md
 
 
readme.txt
readme.txt
 
 

Repository files navigation

Example Query Loop Button Extension

Extends the button block to allow you to populate the href value automatically with the permalink or to a custom meta field. This is especially useful in the query loop, where you may want a custom button for your read more link.

🎥 The full tutorial.

Xnapper-2023-11-28-21 31 38

This repo is part of a tutorial that teaches you how to:

  1. Add custom attributes (aka custom fields) to a core block, and
  2. Modify the final frontend markup of the block based on the attribute values

About

Add Custom Fields to Buttons in the Query Loop

www.briancoords.com/adding-custom-fields-attributes-to-core-blocks/

Resources

Readme
Activity

Stars

13 stars

Watchers

2 watching

Forks

1 fork
Report repository

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.