Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Block entradas

  • Buenas noches:
    He conseguido al fin el block para diseñar que deseaba, el primer problema que me encuentro, es que la entrada que publico no sale la última. se pone la primera, de esta forma se deforma lo que quiero hacer.¿Existe alguna forma de que se ponga. Existe alguna manera de que se pueda publicar cada vez que pongo una entrada salga la ultima. Así es un block infinito, he necesitado poner este plugin, además era el que tiene el block que yo deseo , creo si no lo es queda similar.
    Mi dirección es la siguiente por si necesitan verlo esta solo perfilado pero es como se ve y con tres filas, quitando todo lo que estorbe redes sociales todo https://www.coachdrogas.eu/blog/

  • Hi there,

    Sorry but I’m having a hard time understanding your question.

    Are you referring to the order of posts appearing on a blog page?
    If so that’s handled by WP core and the default setting is the latest post will show up first.

    Does that answer your question?

  • Si por ello te pregunto por que no deseo la predeterminada, haber si hay alguna forma de cambiar esto, el idioma es complicado algunas veces no te preocupes configuración predeterminada

  • Hi there,

    are you wanting to change the ORDER in which your POSTs are displayed ?

  • SI SE PUEDE ME GUSTARÍA QUE LA ULTIMA QUE PUBLIQUE SALGA LA ULTIMA así si despues creo otra,pues sale la ultima , tengo algunas entradas creadas si las tengo que quitar son pruebas para ver como es el block. Por si lo necesitas
    https://www.coachdrogas.eu/blog/

  • You can use the following PHP snippet to reverse the order of the posts.
    So the Oldest Post gets shown First.

    
    function change_category_order( $query ) {
        if ( $query->is_main_query() ) {
            $query->set( 'order', 'ASC' );
        }
    }
    add_action( 'pre_get_posts', 'change_category_order' );
    
  • Creo esta es la forma de poner este código pero aseguramelo
    administrador e archivos>public_html>coachdrogas.eu>wp-content>themes>generatepress>funtions php>abro con el editor y al final pongo ese codigo php? es así
    Pone al abrir el editor funtions.php(text/xphp:php)

  • This article explains how to add the PHP code:

    https://docs.generatepress.com/article/adding-php/

  • gracias no lo he probado porque despues de leer en el enlace dice que lo ponga con plugin mas facil y seguro, pero pone crear un tema hijo, si no mal recuerdo una vez aqui me dijeron que en ggenerate prress no tenia que poner temas hijos, .pongo tema hijo? en caso de si enlace para lee por favor o si es no al plugin lo pongo y veremos que ocurre gracias

  • You can install this plugin:
    https://wordpress.org/plugins/code-snippets/

    And create a new PHP Snippet to add the code.

  • Me dice esto al ir a guardar los cambios

    Este fragmento de código no tiene título. ¿Continuar?

    ¿Le doy a continuar y los guardo?

  • You can give it a title…then save.

  • gRACIAS PODEIS CERRAR

  • No Problem 🙂

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.