Skip to content
#

shortcode

Here are 257 public repositories matching this topic...

interludic
interludic commented Oct 31, 2018
  • Corcel Version: "jgrossi/corcel": "2.5.*",

  • Framework Name & Version: "laravel/framework": "5.5.*",

  • PHP Version: 7.1

Description:

Cant find model... for

// clean and simple all posts from a category
$cat = Category::slug('uncategorized')->posts->first();
$cat->posts->each(function($post) {
echo $post->post_title;
});

PilgrimCD
PilgrimCD commented Mar 22, 2020

I am new to Unyson framework, and have conducted a documentation search and found nothing on the follow:
Is it possible to use Divider elements to create an overlapping effect of my first column over the slider on a homepage?

hamiltont
hamiltont commented Jan 30, 2019

This took forever to figure out, so I'm hoping this issue can be a launching point for writing some documentation on a painful edge case I ran into when trying to build & debug a new shortcode extension. The TLDR is a docs that says something like this "for code running inside shortcode handler functions, to output debug information you should either return the log information as part of the short

cliffordp
cliffordp commented Jan 28, 2020

Make it as easy to create new Blocks as it is to create new Shortcodes, such as https://github.com/cliffordp/cliff-wp-plugin-boilerplate/blob/1a6c0f6dfcba5bc1ddf2773ad72c365df51d1d7b/src/shortcodes/class-tk_request.php

Idea (but maybe not ideal): Convert all of our shortcode's arguments to become Blocks (with fields) by adding custom parameters that create both a shortcode and a block.

Relat

EkoJR
EkoJR commented Aug 28, 2018

Similar to how WooCommerce's template concept is implemented.

  • There's 2 main template functions; get_template & get_template_part.
    • The get_template: initial or isolated block of render code.
    • The get_template_part: blocks of code often repeated within the same template; can also pass variables.
  • Can be extended to the current theme, or extended plugin.

Improve this page

Add a description, image, and links to the shortcode topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the shortcode topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.