• Resolved ivegte

    (@ivegte)


    Hi,

    I want to use the ‘Latest news’ (Moesia FP: Latest News) and/or ‘Projects’ (Moesia FP: Projects) on my frontpage.

    Both have features that I like, but both do not achieve what I want to.

    For Moesia FP: Latest News I do like the featured image option and a short description.

    For Moesia FP: Projects I do like the lightbox effect, but I am kinda missing a description.

    What I want:
    Is it possible to combine the gallery, with the lightbox effect and beneath every particular image a description? I don’t want the image contains a hyperlink to another page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You would basically need to overwrite the fp-projects widget from a child theme and add the_content() below the image output. Then simply write your text in the project post type and it will be displayed. This would require a bit of understanding of how things work.

    Thread Starter ivegte

    (@ivegte)

    I have successfully created a child theme and activated it, but I don’t know which file I have to pick and which code I need to achieve what i want to. I have to copy/paste and edit some code from the functions.php in the parent theme right?

    Thread Starter ivegte

    (@ivegte)

    Okay. I tried it myself, but I cannot get it working.

    Again, what I want to achieve is the following:
    The image output + the lightbox effect with the short description of the ‘Latest News’ description combined. I do not want a link to another page, because I have a ‘one-page-website’.

    I did the following:
    1. Created a child theme. This is working.
    I have here a style.css file and a functions.php file.

    2. Now I’ve looked up the code in the following file fp-projects.php (in the parent theme files). I copied this file to my child theme directory (Directory: /wp-content/themes/Moesia-Child/widgets). I changed the name to: fp-projects-child.php.

    3. I copied the following code into fp-projects-child.php:
    <section id=\”latest-news\” class=\”latest-news-area\”>
    […]
    […]
    </section>
    I have put this code below:
    <section id=\\\”projects\\\” class=\\\”projects-area\\\”>
    […]
    […]
    </section>

    I did not change any code, so everything is originally copied from the original theme.

    What am I doing wrong? I hope someone can help me.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Combine features of Latest News and Projects?’ is closed to new replies.