• ResolvedPlugin Author metaphorcreations

    (@metaphorcreations)


    This is a support thread I have moved from the comments of the Ditty News Ticker page.

    user – Can i have your email so i can contact you, i am trying to figure out how to implement this plugin to the top of my theme but i am having trouble and your instructions arent so clear in were the code should go exactly.

    me – If you want your ticker to show up within your normal “content” paste the ticker Shortcode into your desired post or page.

    If need a ticker somewhere else on your site that isn’t accesible dynamically in the dashboard, you just need to copy and paste the Direct Function of the ticker anywhere between the body tags in your theme code. That’s about all I can tell you as it’s really up to you where you want to place it.

    You do need to make sure your theme contains the wp_head() and wp_footer() functions or else the ticker will not work no matter which way you insert it.

    user – I’m not really sure where exactly i should put it in the theme, this is always what happens. http://cl.ly/image/0M191o0V153w. I wanted something like you have on top of this site, the latest extensions http://cl.ly/image/2W1j3p1x3N1p.
    Where would the wp_head() and footer functions in the theme be?

    me – Ok, first thing. Does the ticker function fine if you use it in a shortcode within a page/post? If so, you don’t need to worry about wp_head() or wp_footer() as your theme contains them. If your shortcode doesn’t work, than your theme probably is missing one or both of those functions… If your theme was professionally built it most likely contains those functions.

    Second. It looks like you are just missing the php tags around the function (since it’s a php function) you are placing in theme. Currently it’s just showing up as HTML. You need to put:

    <?php ditty_news_ticker(475); ?>

    user – It doesn’t seem to work when i put it as short code, you can see here: http://sypulse.org/wordpress/2013/02/12/news-ticker-test/

    Also now i added the php tags and the title shows up but no moving text, as you can see if you visit the page the top top of the page where it says news ticker test.

    This is a custom theme i bought.

    Hope you can help me get it similar to what you have it on the top of your site which i think looks great.

    user – Got it to show up in the shortcode like it does on top but cant seem to get the text moving.

    me – You have some javascript errors happening with other plugins or possibly your theme that you’ll have to fix or disable before my plugin will work as those errors kill any other javascript that should run afterwards.

    There are 2 errors in a file called jquery.ticker.js and one in a file called all.js

    user – Looked through my plugins i dont see any of those 2 file names associated with any plugins installed or the theme.

    user – Actually i found jquery.ticker.js and its part of my theme, i dont however see all.js

    me – I’m guessing it’s coming from your Facebook widget as it’s listing the error as stemming from this function:

    FB.getLoginStatus()

    In your browser open the developer tools or Firebug and view the console output. You’ll see the errors there.

    user – So i got it to work now, but i want to to look exactly like the one you have on top of your website, the on my website now doesnt look good. Can you tell me how to make it like yours.

    me – I have added a few classes to style that ticker:

    <?php ditty_news_ticker(78, 'mtphr-dnt-preview-container latest-extensions'); ?>

    Here are the styles I applied:

    .mtphr-dnt-preview-container {
    	background: #FAFAFA;
    	border: 1px solid #F1F1F1;
    	padding: 20px;
    	-webkit-border-radius: 10px;
    	-moz-border-radius: 10px;
    	border-radius: 10px;
    }
    .latest-extensions {
    	font-size: 12px;
    	padding: 10px;
    	margin-bottom: 20px;
    	-webkit-border-radius: 5px;
    	-moz-border-radius: 5px;
    	border-radius: 5px;
    }
    .latest-extensions h4.mtphr-dnt-posts-title,
    .latest-extensions a,
    .latest-extensions p {
    	display: inline;
    	font-size: 12px;
    	line-height: 0;
    }
    .latest-extensions h4 {
    	padding-right: 5px;
    }

    You also need to set your title as an inline title for your ticker (Global Settings). Keep in mind that some of the styling for my ticker is derived from my theme styles… so, it still may not look exactly like mine up top. You’ll have to probably add/modify some of these styles to fit your needs.

    That’s about all I can do for you. The plugin is intentionally made with very little styling applied to it so it can fit your theme styles with minimal effort.

    user – Thank you! I got it. It looks much better. The display title is not centered and is to big of a font, is that something in the css or is that a setting?

    me – That would need to be resolved via CSS. You’ll probably have to figure override the line-height and font-size that’s being set somewhere in your CSS.

    user – Any idea what i should be looking for exactly? Not really familiar with css.

    http://wordpress.org/extend/plugins/ditty-news-ticker/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Ok i am registered and on here. Website is sypulse.org/wordpress

    Plugin Author metaphorcreations

    (@metaphorcreations)

    There seems to be a database connection error on your site.

    Fixed that error.

    Plugin Author metaphorcreations

    (@metaphorcreations)

    Put this in your themes css file, or the custom css field on the DNT settings page:

    .mtphr-dnt-inline-title {
      font-size: 13px;
      line-height: 13px;
      color: #444444;
      font-weight: bold;
    }

    If you want to add a little space around your ticker add this as well:

    .latest-news {
      margin: 10px 10px 20px 10px;
    }

    Thanks so much! It looks great, 1 last question, is there anyway i can get to show the weather automatically or something like that?

    Plugin Author metaphorcreations

    (@metaphorcreations)

    You’re welcome!

    There currently isn’t any way to show the weather, but I am planning on making a bunch of “extensions” for Ditty News Ticker. I have already created “Ditty Posts Ticker” http://dittynewsticker.com/ditty-posts-ticker/ which is an extension that makes it easy to show any of your posts from any post type.

    My next extension will be a Twitter extension, but I’ll make a note about creating a weather extension… I have no idea how I would go about getting weather info yet, but that would be a useful extension!

    Plugin Author metaphorcreations

    (@metaphorcreations)

    Marking as resolved.

    hafiz1986

    (@hafiz1986)

    Hi, i would like to inquire if ditty post is able to capture the first image in my post, instead of the featured image?

    Plugin Author metaphorcreations

    (@metaphorcreations)

    No it will not.

    hafiz1986

    (@hafiz1986)

    thank you. can i know which header i need to change to be able to change the ‘extract thumbnail’ so that it would capture the first image in my post?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Support question moved from DNT comments’ is closed to new replies.