• Scot

    (@scotcondry)


    Hello,

    I maintain the website for my friends’ bar. One of the owners Tweets and Facebook posts information daily, usually about the band that is playing that evening. I have been using the Twitter Tools plugin to create a post from each tweet to keep content fresh on the front page. The theme I am using is Modularity-Lite from Graph Paper Press. I don’t think it has been updated for a while, but until I can get my php and css skills up enough to create a new child theme (based on a more recent theme like twenty-thirteen), it has the look the owners want. Modularity-Lite doesn’t seem to support the Status post format, so every time he sends out a tweet I have to remove the body, use only the title and add a readable date to the beginning. I am trying to add the Status post format to this theme and so far I have been able to add the code to the functions.php file to get the option to show up in the Posts dashboard, but of course they all look the same no matter what format is chosen. When I try to find information on what to do next on this forum or just in google, I hit a wall because most things seems to be instructions for things my themes do not have or cannot find. For instance one place said to add a specific code to loop.php which I do not have and I cant find the similar info in index.php.

    Can someone help me add this function to my theme? Is it possible? The URL is landmarksaloon.com

    SC

Viewing 1 replies (of 1 total)
  • Thread Starter Scot

    (@scotcondry)

    I have made some progress with the help of this site.

    https://wp.tutsplus.com/tutorials/theme-development/getting-visual-editor-styles-to-work-with-post-formats/

    Step 1 : Adding Support for Post Formats
    I had already done this adding the code to my functions.php so the Post formats show up in the posting dashboard.

    Step 2: The Quote Content File
    Although for me it is the Status content file. I created a file called content-status.php but just used the same code as the webpage suggested for content-quote.php

    Added the code to index.php that calls it.

    Step 3: Creating the CSS
    Currently stuck on this. My Status posts are now one line without the title, but I just want to style it using CSS. Added style code from twenty-twelve theme but so far not working.
    The instructions also says to add a file called editor-style.css but I don’t know what to put in it and don’t really understand why it needs to be made.

    SC

Viewing 1 replies (of 1 total)
  • The topic ‘Adding Status Post Format to Older Theme’ is closed to new replies.