steve92
Forum Replies Created
-
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Why number zero?Forum: Themes and Templates
In reply to: [Donovan] Standard size for preview imagesI think it’s a question of code, not plugins. In my site https://albertifoto.altervista.org I use WP-Portfolio theme and I have not installed the plugin that you advise me. As you can see, the previews are resized natively correctly even without plugins and without having modified the source code.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Replace the_title() codeGood.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Replace the_title() codeGood. in Donovan theme
/template-parts/content-search.phpfile line 16 I put<? php relevanssi_the_title (sprintf (...)and I selected ceckbox in WordPress admin setting relevanssi, then I typed an article title, the search found the article but did not highlight the name.Forum: Plugins
In reply to: [Relevanssi - A Better Search] Replace the_title() codeI did a search in the themes with BBEdit, but the the_title() code isn’t there
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Replace the_title() codeYes, I have 2 sites and I use 2 themes: Donoval and WP-portfolio, but I can’t find the the_title() code
Forum: Themes and Templates
In reply to: [WP Portfolio] Symbol does not appear on the deviceI solved it this way, it seems to work:
@media screen and (min-width: 320px) and (max-width: 767px) { /* Dropdown */ .main-navigation ul li ul li:before { color: #ddd; content: "─"; left: 0; position: absolute; top: 10px; } .main-navigation ul li ul li { border-left: 1px solid #ddd; padding-left: 10px; } }Forum: Plugins
In reply to: [AddToAny Share Buttons] Share opened imagePuò darsi che il tema abbia questa opzione, scaricalo e fai delle prove in locale.
Forum: Plugins
In reply to: [AddToAny Share Buttons] Share opened imageAllora non credo che puoi farlo per ogni immagine. Io però sono dell’idea che il cliente o visitatore preferisce avere una piccola spiegazione sul prodotto, questo crea più interesse.
Forum: Plugins
In reply to: [AddToAny Share Buttons] Share opened imageYou can create an article for each photo as I did on my site. You can write a short description of your article.
Forum: Plugins
In reply to: [AddToAny Share Buttons] Share opened imageIf you use WordPress put the code in functions.php child
function eve_meta() { /* prendo il contenuto del post */ Global $wp_query; $post = $wp_query->post; $page_id = $post->ID; $page_object = get_page( $page_id ); $page_content = $page_object->post_content; /* lo ripulisco da tag e caratteri strani */ $fbdesc = wp_html_excerpt(htmlspecialchars_decode(strip_tags(strip_shortcodes(str_replace('"','',($page_content))))), 150,'...'); /* prendo immagine post */ $fbthumb = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'facebook-thumb'); ?> /* META NAME & OPEN GRAPH PER PAGINE E ARTICOLI */ if (is_page() || is_single()) { ?> <meta property="og:title" content="<?php the_title(); ?>" /> <meta property="og:image" content="<?php echo $fbthumb[0]; ?>" /> <meta property="og:description" content="<?php echo $fbdesc; ?>" /> <meta property="og:url" content="<?php the_permalink(); ?>" /> <meta name="twitter:title" content="<?php the_title(); ?>" /> <meta name="twitter:description" content="<?php echo $fbdesc; ?>" /> <meta name="twitter:image:src" content="<?php echo $fbthumb[0]; ?>" /> <?php } } } add_action('wp_head', 'eve_meta' );Forum: Themes and Templates
In reply to: [Donovan] Put an ellipsisSOLVED!
In the /donovan/inc/template-functions.php in the line #190 put 3 ellipsis so:
return '...';Forum: Plugins
In reply to: [Contextual Related Posts] Resize related articles previewsGood.
Forum: Plugins
In reply to: [Contextual Related Posts] Resize related articles previewsI want to resize only the images of related articles.
Forum: Plugins
In reply to: [Contextual Related Posts] Resize related articles previewsAt the bottom of the articles there are 4 images of previews, these are the images that I want to resize.