Shortcode for Current Date

Por Imtiaz Rayhan
(115 avaliações)
Baixar
  • Versão:
    2.2.2
  • Última atualização:
    há 5 dias
  • Instalações ativas:
    mais de 10 mil
  • Versão do WordPress:
    5.0 ou maior
  • Testado até o WordPress:
    6.9
  • Versão do PHP:
    ou maior
  • Tags:

Hospedagem WordPress com plugin Shortcode for Current Date

Onde posso hospedar o plugin Shortcode for Current Date?

Este plugin pode ser hospedado em qualquer servidor que tenha WordPress instalado. Recomendamos fortemente utilizar uma hospedagem confiável, com servidores especializados para WordPress, como o serviço de hospedagem WordPress da MCO2.

Hospedando o plugin Shortcode for Current Date em uma empresa de hospedagem seguro

A MCO2, além de instalar o WordPress na versão mais atual para seus clientes, disponibiliza o plugin WP SafePress, um mecanismo exclusivo que protege e otimiza seu site ao mesmo tempo.

Por que a Hospedagem WordPress funciona melhor na MCO2?

A Hospedagem WordPress funciona melhor pois a MCO2 possui servidores otimizados para WordPress. A instalação de WordPress é diferente de uma instalação trivial, pois habilita imediatamente recursos como otimização de imagens, proteção da página de login, bloqueio de atividades suspeitas diretamente no firewall, cache avançado e HTTPS ativado por padrão. São plugins que potencializam seu WordPress para a máxima segurança e o máximo desempenho.

Shortcode for Current Date enables you to put current date, current month or current year anywhere in your WordPress site with a simple shortcode.

Just use the shortcode [current_date] and when the post or page is displayed, [current_date] will be replaced by the current date. And the date will be translated according to your site settings.

By default it will show a date like this: 7th May 2017

But you can customize it to your needs. To do that, you’ll need to pass the date format using an attribute with the shortcode.
Here are some examples:

[current_date format=’d/m/Y’] will show the date like this: 07/05/2017
[current_date format=’F d, Y’] will show the date like this: May 07, 2017

If you don’t understand how this formatting works, that’s totally okay.

Gutenberg Block

If you are using Gutenberg editor, there’s a Current Date block you can use to insert the current date in your posts/pages.

If you use the block, you will not have to use the shortcode.

When you insert the block, on the right sidebar under block options you will see a field to put the format for the date.

Styling

You can use ‘size’ and ‘color’ attributes to style the date.

For example, [current_date format=’d/m/Y’ size=’20px’ color=’#FF0000′]

What’s Next

If you like this plugin, then consider checking out our other plugins:

  • WP Table Builder – Drag and Drop Table Builder Plugin. Build Responsive Tables insanely easily.
  • Ultimate Blocks – Create Better Content with Gutenberg + Ultimate Blocks. Essential Collection of Blocks for Bloggers and Affiliate Marketers.
  • WP Coupons and Deals – Make More Money from Your Affiliate Coupons and Deals.

Visit WPLeaders to learn more about WordPress, WordPress themes and plugins.

Plugins semelhantes

WP Shortcodes Plugin — Shortcodes Ultimate
(5.907 avaliações)

A comprehensive collection of visual components for your site

MW WP Form
(22 avaliações)

MW WP Form is shortcode base contact form plugin. This plugin have many features. For example you can use many validation rules, inquiry data saving, …

Shortcoder — Create Shortcodes for Anything
(224 avaliações)

Create custom "Shortcodes" easily for HTML, JavaScript, CSS code snippets and use the shortcodes within posts, pages & widgets

Display Posts – Easy lists, grids, navigation, and more
(162 avaliações)

Add a listing of content on your website using a simple shortcode. Filter the results by category, author, and more.

Column Shortcodes
(135 avaliações)

Adds shortcodes to easily create columns in your posts or pages.

Woody code snippets – Insert Header Footer Code, AdSense Ads
(217 avaliações)

Insert Headers and Footers, executes PHP code, uses conditional logic to insert ads, text, media content and external service’s code.