Forum Replies Created

Viewing 15 posts - 1 through 15 (of 22 total)
  • Author
    Posts
  • in reply to: Search for CSS id at Shortcode #23583
    Hans Goutier
    Participant

    Hello Keymaster,

    I do not know how to copy-paste a screenshot into this textfield. That’s why I send you the url/permalink

    ‘Kennisbank’ (Knowledge base) url

    Kennisbank

    [su_spoiler title=”AFWERKING VLOER” icon=”arrow-circle-1″]Antwoord…[/su_spoiler]

    in reply to: how to prevent ’empty’ (sub)menu #18501
    Hans Goutier
    Participant

    This works well. Thanks Keymaster!

    Hans Goutier
    Participant

    Hello Keymaster,

    Thanks for your reply, however, this is not what I mean.

    The landingpage: https://dolophout.nl.kennisbank (Knowledge Base) consists of separate shortcodes.
    How do I a link (a word or phrase) from another page to a specific shortcode named on Knowledge Base.

    Hans Goutier
    Participant

    Hello Keymaster,

    I followed your advice to add the code at the end of the functions.php file (Child theme, see below):

    <?php
    // Exit if accessed directly
    if ( !defined( ‘ABSPATH’ ) ) exit;

    // BEGIN ENQUEUE PARENT ACTION
    // AUTO GENERATED – Do not modify or remove comment markers above or below:

    if ( !function_exists( ‘chld_thm_cfg_locale_css’ ) ):
    function chld_thm_cfg_locale_css( $uri ){
    if ( empty( $uri ) && is_rtl() && file_exists( get_template_directory() . ‘/rtl.css’ ) )
    $uri = get_template_directory_uri() . ‘/rtl.css’;
    return $uri;
    }
    endif;
    add_filter( ‘locale_stylesheet_uri’, ‘chld_thm_cfg_locale_css’ );

    if ( !function_exists( ‘chld_thm_cfg_parent_css’ ) ):
    function chld_thm_cfg_parent_css() {
    wp_enqueue_style( ‘chld_thm_cfg_parent’, trailingslashit( get_template_directory_uri() ) . ‘style.css’, array( ‘bootstrap’,’font-awesome’ ) );
    }
    endif;
    add_action( ‘wp_enqueue_scripts’, ‘chld_thm_cfg_parent_css’, 10 );

    // END ENQUEUE PARENT ACTION

    /* Automatically set the image Title, Alt-Text, Caption & Description upon upload
    ———————————————————————–*/

    add_action( ‘add_attachment’, ‘my_set_image_meta_upon_image_upload’ );

    function my_set_image_meta_upon_image_upload( $post_ID ) {
    // Check if uploaded file is an image, else do nothing
    if ( wp_attachment_is_image( $post_ID ) ) {
    $my_image_title = get_post( $post_ID )->post_title;
    // Sanitize the title: remove hyphens, underscores & extra
    // spaces:
    $my_image_title = preg_replace( ‘%\s*[-_\s]+\s*%’, ‘ ‘,
    $my_image_title );
    // Sanitize the title: capitalize first letter of every word
    // (other letters lower case):
    $my_image_title = ucwords( strtolower( $my_image_title ) );
    // Create an array with the image meta (Title, Caption,
    // Description) to be updated
    // Note: comment out the Excerpt/Caption or Content/Description
    // lines if not needed
    $my_image_meta = array(
    // Specify the image (ID) to be updated
    ‘ID’ => $post_ID,
    // Set image Title to sanitized title
    ‘post_title’ => $my_image_title,
    // Set image Caption (Excerpt) to sanitized title

    ‘post_excerpt’ => $my_image_title,
    // Set image Description (Content) to sanitized title
    ‘post_content’ => $my_image_title,
    );

    // Set the image Alt-Text
    update_post_meta( $post_ID, ‘_wp_attachment_image_alt’,
    $my_image_title );
    // Set the image meta (e.g. Title, Excerpt, Content)
    wp_update_post( $my_image_meta );
    }
    }

    Although I get the message that I am doing something wrong.

    Hans Goutier
    Participant

    Hello Keymaster,

    Where exactly do I add this HTML code in functions.php

    in reply to: Reading time #16323
    Hans Goutier
    Participant

    Hello Keymaster,

    The plugin ‘Reading Time WP’ works great with the Arile theme.

    Thanks for your quick support.

    in reply to: Gallery (changing subjects) #15514
    Hans Goutier
    Participant

    Hi Keymaster,

    Thanks for your help!

    in reply to: Gallery (changing subjects) #15156
    Hans Goutier
    Participant

    Hello Keymaster,

    That is not what I mean. For clarification I have added two images. Projects > Landingpage ‘Renovation’. I changed GALLERY in the right corner below into ‘Wellicht ook Interessant…’ (translated = Might be of Interest…) with a few pictures of other Projects. Depending on which landingpage you are I would like to change to pictures.

    Oops… can I add images too or only url link in this topic?

    in reply to: Section title Landingpage Projects NOT empty? #15012
    Hans Goutier
    Participant

    Great! Thank you.

    in reply to: change order of project categories #14834
    Hans Goutier
    Participant

    Hello Keymaster.

    Plugin you proposed works great! Thank you.

    in reply to: add more images to a project #14833
    Hans Goutier
    Participant

    Thanks Keymaster,

    That is a pity because I would like to show images ‘BEFORE’ and ‘AFTER in one Project.

    in reply to: background color (predefined pages) #10762
    Hans Goutier
    Participant

    Works great! Very happy with your professional support.

    in reply to: background color (predefined pages) #10754
    Hans Goutier
    Participant

    Can you be of help with CSS code (same background color #225567) for next page too?

    https://dolophout.nl/nieuws/

    Thanks in advance.

    in reply to: Subjects started #10752
    Hans Goutier
    Participant

    Great! Thanks a lot.

    in reply to: Anchor link in Button #10449
    Hans Goutier
    Participant

    Thanks for your reply.

Viewing 15 posts - 1 through 15 (of 22 total)