• Skip to primary navigation
  • Skip to main content
  • Skip to footer

678 842 829

eliembid@icab.cat

  • Facebook
  • Instagram
  • LinkedIn
Elisabeth Embid

Elisabeth Embid

Abogada. Asesoramiento jurídico. Especialista en el procedimiento contencioso administrativo y protección de datos de carácter personal.

  • Servicios
  • Sobre mi
Contactar

Sample post with advanced post formatting

You are here: Home / Uncategorized / Sample post with advanced post formatting

11/12/2017 by shetec 2 Comments

There are lots of powerful things you can do with the WordPress editor

If you’ve gotten pretty comfortable with all the basics of writing in WordPress, then you may enjoy some more advanced tips about the types of things you can do!

As with the last post about the editor, you’ll want to be actually editing this post as you read it so that you can see all the cool stuff we’re using.

Special formatting

As well as bold and italics, you can also use some other special formatting in the editor when the need arises, for example:

  • strike through
  • highlight
  • *escaped characters*

Writing code blocks

Code elements can be created in the editor by switching the text style to Preformatted. Code is formatted by wrapping any word or words in pre tags, <pre>like this</pre>. Larger snippets of code can be displayed across multiple lines like this:

.my-link {
    text-decoration: underline;
}

Full width images

One neat trick which you can use in WordPress to distinguish between different types of images is to add a class value to the image itself from the Advanced Settings tab, and then target images containing the class with special styling. For example:

which is styled with…

img.full-width {
    max-width: 100vw;
}

This creates full-bleed images in the Corporate Pro theme, which stretch beyond their usual boundaries right up to the edge of the window. Every theme handles these types of things slightly differently, but it’s a great trick to play with if you want to have a variety of image sizes and styles.

Full HTML

Perhaps the best parts of the WordPress editor is that you’re never limited to just WYSIWYG. You can write HTML directly in the WordPress editor and it will just work as HTML usually does. No limits! Here’s a standard YouTube embed code as an example:

Category iconUncategorized Tag iconformat,  post

Reader Interactions

Comments

  1. admin says

    11/12/2017 at 6:02 am

    This is a test comment

    Responder
    • admin says

      11/12/2017 at 6:03 am

      Hello there. Nice comment.

      Responder

Deja una respuesta Cancelar la respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

Ponte en contacto conmigo y cuéntame tu caso
Contacta conmigo

Footer

Elisabeth Embid

C/ Roger de Llúria 120, 4
08037 - BARCELONA

678 842 829

eliembid@icab.cat

Sitemap

  • Servicios
  • Sobre mi

Legal

  • Aviso legal
  • Política de privacidad
  • Política de Cookies
  • Facebook
  • Instagram
  • LinkedIn

Hecha con 💗 por Sherpa Negocios Online
Copyright © 2021 Elisabeth Embid.

Utilizamos cookies en nuestro sitio web para brindarle la experiencia más relevante al recordar sus preferencias y repetir visitas. Al hacer clic en "Aceptar", usted acepta el uso de TODAS las cookies.
Ajustes de cookiesACEPTAR
Política de privacidad y cookies

Resumen de privacidad

Este sitio web utiliza cookies para mejorar su experiencia mientras navega por el sitio web. Fuera de estas cookies, las cookies que se clasifican según sea necesario se almacenan en su navegador, ya que son esenciales para el funcionamiento de las funcionalidades básicas del sitio web. También utilizamos cookies de terceros que nos ayudan a analizar y comprender cómo utiliza este sitio web. Estas cookies se almacenarán en su navegador solo con su consentimiento. También tiene la opción de optar por no recibir estas cookies. Pero la exclusión voluntaria de algunas de estas cookies puede afectar su experiencia de navegación.
Necesarias
Siempre activado

Las cookies necesarias son absolutamente esenciales para que el sitio web funcione correctamente. Esta categoría solo incluye cookies que garantizan funcionalidades básicas y características de seguridad del sitio web. Estas cookies no almacenan ninguna información personal.

No necesarias

Las cookies que pueden no ser particularmente necesarias para que el sitio web funcione y se utilizan específicamente para recopilar datos personales del usuario a través de análisis, anuncios y otros contenidos integrados se denominan cookies no necesarias. Es obligatorio obtener el consentimiento del usuario antes de ejecutar estas cookies en su sitio web.