• Hello,
    I have two shortcodes in the same page, and i need to know how can i have to different styles in this shortcodes… change the date, read more and text color from one shortcode to other?

    My shortcode,

    [latest-selected-content limit=”1″ display=”date,title,excerpt” image=”thumbnail” linktext=”ler mais” url=”yes” elements=”3″ tag=”1″ chrlimit=”10″ orderby=”dateA”]

    Ah chrlimit dont work too ??

    Thanks

    Best regards

    https://www.ads-software.com/plugins/latest-post-shortcode/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Iulia Cazan

    (@iulia-cazan)

    Hi,
    Please take a look at the styling tips
    https://iuliacazan.ro/latest-post-shortcode/

    About the excerpt, please provide an example of the output, what does not work

    Thread Starter pilonscv

    (@pilonscv)

    Hello,

    Thanks for your reply, about styling sorry but i dont understand your information in your link… i want change the color of the text, the excerpt color… i have two shortcodes and i want one excerpt stay black and other stay white, it is possible?

    About the chrlimit when i put the chrlimit in shortcode the title of the post disapear… my code is,

    [latest-selected-content limit=”1″ display=”date,title,content” image=”thumbnail” url=”yes” elements=”3″ tag=”1″ chrlimit=”300″ orderby=”dateA”]

    I need Date,Title,Content,read more…

    Thanks

    Regards,

    Thread Starter pilonscv

    (@pilonscv)

    Css works fine about font size but dont work about color,

    first
    .latest-post-selection.caixas
    {
    color:#000000!important;
    second
    }
    .latest-post-selection.caixas1
    {
    color:#ffffff!important;
    }

    Plugin Author Iulia Cazan

    (@iulia-cazan)

    Please give the html content of the excerpt you are not seeing. For the styling, what is the output of the shortcode ?

    Thread Starter pilonscv

    (@pilonscv)

    Hello,

    At this moment i only want change the color of the “content-small”

    First new
    [latest-selected-content limit=”1″ display=”date,title,excerpt” image=”thumbnail” linktext=”ler mais” url=”yes” elements=”3″ tag=”2″ chrlimit=”300″ orderby=”dateA” css=”caixas”]

    Second new
    [latest-selected-content limit=”1″ display=”date,title,excerpt” image=”thumbnail” linktext=”ler mais” url=”yes” elements=”3″ tag=”2″ chrlimit=”300″ orderby=”dateA” css=”caixas1″]

    <section class="latest-post-selection caixas" id="lps-b09d3bba4674de7bc8233efcb677bc44"><article><a href="" class="read-more-wrap"><em>2015-09-06 </em><h1>NEWS 002.15</h1><p><span style="font-size: 18pt;"><strong><span style="color: #1799d2;">Altera??o ao Código do Trabalho – Refor?o dos direitos de maternidade e parentalidade</span></strong></span>
    <p>
    Foi publicada no dia 1 de Setembro a Lei n.o 120/2015, que procede à nona altera??o do Código do Trabalho, refor?ando os direitos de maternidade e paternidade, alterando em simultaneo o regime jurídico de protec??o social na parentalidade.</p>
    <br>ler mais</br></a><div class="clear"></div></article></section>
    Thread Starter pilonscv

    (@pilonscv)

    I put the editor on the excerpt field and now i change the content color…

    It is possible put the chrlimit in this line?

    if ( in_array( ‘excerpt’, $extra_display ) ) {
    $text = apply_filters( ‘the_content’, strip_shortcodes( $post->post_excerpt ) );
    }

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘style’ is closed to new replies.