Pinboard Theme Documentation: How to Customize the Theme's Content Area

Viewing 15 posts - 1 through 15 (of 27 total)
  • #15874
    Daniel Tara

    Today we would like to present second part of the Pinboard Theme’s documentation: How to Customize the Theme’s Content Area. We hope you find our tutorial useful and wait for your feedback.


    Hi Daniel!

    We found your theme beautiful and easy to configure, but we made some changes at the code to show other images at the “social-media-icons” and restructure the layout like moving the boxes-sidebar below the main content.

    We like to be updated but when we update we lose all changes. Can we have a log of the code changes to do the update manually?

    We tried to create a child theme, but seems not work

    Thanks 🙂

    • This reply was modified 10 years, 11 months ago by Isonomia. Reason: We tried to create a child theme, but seems not work
    Daniel Tara

    Each time we update a theme it is sent to the Theme Directory for review. For each submitted theme a ticket is opened. You can see all tickets for the Pinboard theme here. You can see it’s a search by keyword theme-pinboard so you can do that with any theme.

    If you click on a ticket, you’ll have a link called “Diff with previous version”. That link shows you highlighted what has been removed and what has been added in the last update. If you look at the link you’ll see it contains the 2 compared version numbers in the URL. You can change those version numbers to compare any 2 versions.


    You really save my life 🙂

    Thank you for teaching me, very appreciated.


    I really appreciate all the options in this theme.

    For some reason my content background white color does not appear for the page where event posts appear. It shows as the page color which is blue

    Any suggestions on how to fix this? I would like to have white behind events too.

    Daniel Tara

    It is a bug that happens only when there are no posts to display. Thanks for letting us know.


    Love the Pinboard theme and the tutorials are very helpful. Thank you for this great work!

    My question is about Pagination — the site owner would like to turn off Pagination on the homepage, but allow it for other blog archives. How do I distinguish the homepage in the code and suppress this feature? Currently, I have Pagination not displayed by the CSS, but that affects all pages. Thanks for any hints.

    Daniel Tara

    You can duplicate the index.php template and rename it home.php, that way it will be a dedicated template for the home page.


    home.php did the trick! Thanks, Daniel.


    Hello everybody,

    I don’t want to open a new topic, because I think I’m too stupid to solve my problem.
    I change my standard theme to your pinboard. It’s great. I absolutley love it. There is exactly 1 point I’m not able to solve.

    This is my website:

    In the content area I do have my “newest” project as a “full” content. At the moment it’s called “Alex & Nadine – Best Friends”. My describing text is located on the left side (sorry I cannot explain it better), but my picture is located on the right side!

    I would like to have both, text and picture, on the left side. Is that possible?

    Do you understand what I mean? I’m really sorry, but my english isn’t very good, as you see 🙁

    Thank you very much and have a great weekend,


    Hi Daniel,
    I have my posts displayed in 4 columns. Everything looks great, am really happy with your theme. Just one thing I can not resolve and wonder if there are any options available to make it to work. I constantly use shortcodes in my posts [like for example a shortcode for a Like/Dislike button]. In posts excerpts all shortcodes are ignored. Is it be possible for them to be recognised somehow?
    Thanks in advance.

    Daniel Tara

    Add this to your functions.php file:

    add_filter( 'the_excerpt', 'do_shortcode' );

    Daniel, I can’t even tell you how impressed I’m with your products and with the way you conduct you business. I’ve tried more than 20 different themes and honestly, I wouldn’t put them even close [even deactivated] to your one. Then you replied just few hours after I submitted my question! What can I say – top notch stuff!
    Man, it didn’t work. Unfortunately.
    It still ignores my shortcodes. I use 2 of them – one for a table from Tablepress and one for Like buttons from Likebtn.
    I put that line you recommended right below this [at the very bottom of functions.php]:
    if ( ! function_exists( ‘pinboard_copyright_notice’ ) ) :
    * Display notification no posts were found
    * @since Pinboard 1.0
    function pinboard_copyright_notice() {
    $copyright = pinboard_get_option( ‘copyright_notice’ );
    $copyright = str_replace( ‘%year%’, date( ‘Y’ ), $copyright );
    $copyright = str_replace( ‘%blogname%’, get_bloginfo( ‘name’ ), $copyright );
    echo esc_html( $copyright );

    Thanks a zillion!

    Daniel Tara

    You are probably not using a custom excerpt but have it generated automatically. In this case shortcodes are stripped automatically by WordPress. You can either add a custom excerpt for each post or add this code in functions.php:

    remove_filter( 'get_the_excerpt', 'wp_trim_excerpt' );
    add_filter( 'get_the_excerpt', 'pinboard_trim_excerpt' );
    function pinboard_trim_excerpt($text = '') {
    	$raw_excerpt = $text;
    	if ( '' == $text ) {
    		$text = get_the_content('');
    		$text = apply_filters('the_content', $text);
    		$text = str_replace(']]>', ']]>', $text);
    		$excerpt_length = apply_filters('excerpt_length', 55);
    		$excerpt_more = apply_filters('excerpt_more', ' ' . '[…]');
    		$text = wp_trim_words( $text, $excerpt_length, $excerpt_more );
    	return apply_filters('wp_trim_excerpt', $text, $raw_excerpt);

    Thanks a lot Daniel. You are soooo helpful! I thought it would more beneficial to have it as a separate topic, so I’ve just moved our conversation to

    Till today I knew nothing about custom excerpt, functions.php and all other things. Didn’t even know that WP
    1] strips out all HTML and images
    2] truncates your post to 55 words
    3] adds this to the end of the text: “[…]“

    [the first item is my main problem, isn’t it?] I don’t know PHP and HTML but have just started educating myself with what is a a custom excerpt and how to create it.
    I put in functions.php your recommended code, now I can see the text inside those shortcodes published but they are not read as HTML commands.
    Back to my topic

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

You must be logged in to reply to this topic.