Coder Social home page Coder Social logo

Comments (8)

philiparthurmoore avatar philiparthurmoore commented on July 17, 2024

I've never used Headlines. Can you either give me a link or just email me (see my profile)? It would be very helpful if you could explain exactly what you want. Are you saying that you want to be able to add subtitles into the headlines that are generated from that plugin?

from subtitles.

philiparthurmoore avatar philiparthurmoore commented on July 17, 2024

Hi Leo. Thanks for sending the files. To clarify, were you asking for there to be a subtitle per special headline with that plugin? If so, I do not think that this is something I'm going to spend any time adding into the plugin, as it seems to be a very specific use case that I don't have time to develop. I've never used the plugin, so if I'm misunderstanding anything, please let me know. As it stands now, though, only one subtitle per specific post or page is supported.

from subtitles.

leokoo avatar leokoo commented on July 17, 2024

ah, no worries. Have you tried headlines and the superstore theme? Seems to cause a conflict when multiple subtitles starts appearing :)

from subtitles.

philiparthurmoore avatar philiparthurmoore commented on July 17, 2024

Yes I've noticed this not only in the WooThemes theme but in Twenty Ten as well. Let me see what may be causing it. (In situations like this it's best to narrow down the conflicts one by one; in this case, it doesn't matter which theme you're using; it's just a plugin conflict.)

from subtitles.

leokoo avatar leokoo commented on July 17, 2024

Awesome :) Will probably drop Noah and team a message about getting Headlines and Subtitles better integrated :)

from subtitles.

philiparthurmoore avatar philiparthurmoore commented on July 17, 2024

For what it's worth, I'm pretty sure it has something to do with these lines of code in class-headlines.php:

            add_filter('the_title', array($this, 'get_post_title'), 10, 2);
            add_filter('single_post_title', array($this, 'single_post_title'), 10, 2);

Unfortunately I can't really debug their plugin for them, but I'd certainly be willing to give any information you need about how Subtitles works. It's all here on GitHub and it's mostly just a matter of filtering the_title and single_post_title, so it seems like two plugins are trying to do things to the same hooks, which may be causing these issues.

from subtitles.

philiparthurmoore avatar philiparthurmoore commented on July 17, 2024

On a side note, you should really tell them to fix all of these PHP Notices:

[15-Jun-2014 14:35:34 UTC] PHP Notice:  Use of undefined constant KS_HEADLINES_EDD_AUTHOR - assumed 'KS_HEADLINES_EDD_AUTHOR' in /Applications/XAMPP/xamppfiles/htdocs/develop/src/wp-content/plugins/ks-headlines/admin/class-headlines-admin.php on line 62
[15-Jun-2014 14:35:35 UTC] PHP Notice:  Use of undefined constant KS_HEADLINES_EDD_AUTHOR - assumed 'KS_HEADLINES_EDD_AUTHOR' in /Applications/XAMPP/xamppfiles/htdocs/develop/src/wp-content/plugins/ks-headlines/admin/class-headlines-admin.php on line 62
[15-Jun-2014 14:35:50 UTC] PHP Notice:  Use of undefined constant KS_HEADLINES_EDD_AUTHOR - assumed 'KS_HEADLINES_EDD_AUTHOR' in /Applications/XAMPP/xamppfiles/htdocs/develop/src/wp-content/plugins/ks-headlines/admin/class-headlines-admin.php on line 62
[15-Jun-2014 14:35:59 UTC] PHP Notice:  Use of undefined constant KS_HEADLINES_EDD_AUTHOR - assumed 'KS_HEADLINES_EDD_AUTHOR' in /Applications/XAMPP/xamppfiles/htdocs/develop/src/wp-content/plugins/ks-headlines/admin/class-headlines-admin.php on line 62
[15-Jun-2014 14:35:59 UTC] PHP Notice:  Undefined variable: id in /Applications/XAMPP/xamppfiles/htdocs/develop/src/wp-content/plugins/ks-headlines/admin/class-headlines-admin.php on line 293
[15-Jun-2014 14:36:01 UTC] PHP Notice:  Use of undefined constant KS_HEADLINES_EDD_AUTHOR - assumed 'KS_HEADLINES_EDD_AUTHOR' in /Applications/XAMPP/xamppfiles/htdocs/develop/src/wp-content/plugins/ks-headlines/admin/class-headlines-admin.php on line 62
[15-Jun-2014 14:36:02 UTC] PHP Notice:  Use of undefined constant KS_HEADLINES_EDD_AUTHOR - assumed 'KS_HEADLINES_EDD_AUTHOR' in /Applications/XAMPP/xamppfiles/htdocs/develop/src/wp-content/plugins/ks-headlines/admin/class-headlines-admin.php on line 62
[15-Jun-2014 14:36:02 UTC] PHP Notice:  Use of undefined constant KS_HEADLINES_EDD_AUTHOR - assumed 'KS_HEADLINES_EDD_AUTHOR' in /Applications/XAMPP/xamppfiles/htdocs/develop/src/wp-content/plugins/ks-headlines/admin/class-headlines-admin.php on line 62
[15-Jun-2014 14:36:17 UTC] PHP Notice:  Use of undefined constant KS_HEADLINES_EDD_AUTHOR - assumed 'KS_HEADLINES_EDD_AUTHOR' in /Applications/XAMPP/xamppfiles/htdocs/develop/src/wp-content/plugins/ks-headlines/admin/class-headlines-admin.php on line 62
[15-Jun-2014 14:36:21 UTC] PHP Notice:  Use of undefined constant KS_HEADLINES_EDD_AUTHOR - assumed 'KS_HEADLINES_EDD_AUTHOR' in /Applications/XAMPP/xamppfiles/htdocs/develop/src/wp-content/plugins/ks-headlines/admin/class-headlines-admin.php on line 62
[15-Jun-2014 14:36:21 UTC] PHP Notice:  Use of undefined constant KS_HEADLINES_EDD_AUTHOR - assumed 'KS_HEADLINES_EDD_AUTHOR' in /Applications/XAMPP/xamppfiles/htdocs/develop/src/wp-content/plugins/ks-headlines/admin/class-headlines-admin.php on line 62
[15-Jun-2014 14:36:30 UTC] PHP Notice:  Use of undefined constant KS_HEADLINES_EDD_AUTHOR - assumed 'KS_HEADLINES_EDD_AUTHOR' in /Applications/XAMPP/xamppfiles/htdocs/develop/src/wp-content/plugins/ks-headlines/admin/class-headlines-admin.php on line 62
[15-Jun-2014 14:37:56 UTC] PHP Notice:  Use of undefined constant KS_HEADLINES_EDD_AUTHOR - assumed 'KS_HEADLINES_EDD_AUTHOR' in /Applications/XAMPP/xamppfiles/htdocs/develop/src/wp-content/plugins/ks-headlines/admin/class-headlines-admin.php on line 62
[15-Jun-2014 14:37:58 UTC] PHP Notice:  Use of undefined constant KS_HEADLINES_EDD_AUTHOR - assumed 'KS_HEADLINES_EDD_AUTHOR' in /Applications/XAMPP/xamppfiles/htdocs/develop/src/wp-content/plugins/ks-headlines/admin/class-headlines-admin.php on line 62
[15-Jun-2014 14:38:05 UTC] PHP Notice:  Use of undefined constant KS_HEADLINES_EDD_AUTHOR - assumed 'KS_HEADLINES_EDD_AUTHOR' in /Applications/XAMPP/xamppfiles/htdocs/develop/src/wp-content/plugins/ks-headlines/admin/class-headlines-admin.php on line 62
[15-Jun-2014 14:38:06 UTC] PHP Notice:  Undefined variable: id in /Applications/XAMPP/xamppfiles/htdocs/develop/src/wp-content/plugins/ks-headlines/admin/class-headlines-admin.php on line 293
[15-Jun-2014 14:38:10 UTC] PHP Notice:  Use of undefined constant KS_HEADLINES_EDD_AUTHOR - assumed 'KS_HEADLINES_EDD_AUTHOR' in /Applications/XAMPP/xamppfiles/htdocs/develop/src/wp-content/plugins/ks-headlines/admin/class-headlines-admin.php on line 62
[15-Jun-2014 14:38:11 UTC] PHP Notice:  Use of undefined constant KS_HEADLINES_EDD_AUTHOR - assumed 'KS_HEADLINES_EDD_AUTHOR' in /Applications/XAMPP/xamppfiles/htdocs/develop/src/wp-content/plugins/ks-headlines/admin/class-headlines-admin.php on line 62
[15-Jun-2014 14:38:11 UTC] PHP Notice:  Use of undefined constant KS_HEADLINES_EDD_AUTHOR - assumed 'KS_HEADLINES_EDD_AUTHOR' in /Applications/XAMPP/xamppfiles/htdocs/develop/src/wp-content/plugins/ks-headlines/admin/class-headlines-admin.php on line 62
[15-Jun-2014 14:38:13 UTC] PHP Notice:  Use of undefined constant KS_HEADLINES_EDD_AUTHOR - assumed 'KS_HEADLINES_EDD_AUTHOR' in /Applications/XAMPP/xamppfiles/htdocs/develop/src/wp-content/plugins/ks-headlines/admin/class-headlines-admin.php on line 62
[15-Jun-2014 14:40:55 UTC] PHP Notice:  Use of undefined constant KS_HEADLINES_EDD_AUTHOR - assumed 'KS_HEADLINES_EDD_AUTHOR' in /Applications/XAMPP/xamppfiles/htdocs/develop/src/wp-content/plugins/ks-headlines/admin/class-headlines-admin.php on line 62
[15-Jun-2014 14:41:04 UTC] PHP Notice:  Use of undefined constant KS_HEADLINES_EDD_AUTHOR - assumed 'KS_HEADLINES_EDD_AUTHOR' in /Applications/XAMPP/xamppfiles/htdocs/develop/src/wp-content/plugins/ks-headlines/admin/class-headlines-admin.php on line 62
[15-Jun-2014 14:41:15 UTC] PHP Notice:  Use of undefined constant KS_HEADLINES_EDD_AUTHOR - assumed 'KS_HEADLINES_EDD_AUTHOR' in /Applications/XAMPP/xamppfiles/htdocs/develop/src/wp-content/plugins/ks-headlines/admin/class-headlines-admin.php on line 62

The admin is triggering lots of PHP issues on their end.

from subtitles.

philiparthurmoore avatar philiparthurmoore commented on July 17, 2024

Also, just a note that there's a well-documented API for bypassing Subtitles when needed, so I'm sure they could do something on their end to ignore it when needed.

from subtitles.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.