RockoRobotics
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Version 4.4 update – Fatal error: Class 'WP_Widget' not foundI ran into this issue on a test site of mine and this is how I resolved it:
In WordPress 4.4, the WP_Widget class was moved to a different PHP file and I had forgot to update the wp-settings.php file that tells WordPress where WP_Widget can be found.
I would try checking your wp-settings.php file in the root of your directory and see if that was updated when the rest of WordPress was updated.
Line #186 should read:
require( ABSPATH . WPINC . '/class-wp-widget.php' );
I tried your fix and it appears that the issue has been resolved. Thank you for your help.
The WordPress Version is 3.4.1 and I have tried this with the past few versions of the plugin, including the latest version 2.5.0.
I cannot give the exact string I am trying to save because of client confidentiality reasons.(I work for a web design company and it is part of how the company operates). However, I have tried a variety of different text strings inside the tw:hashtags and it is always removed.
I have tried using this plugin on a blog with a different theme and only one other simple custom plugin active and the issue still persists. Perhaps you can give me an example of a tweet button that you know works and I can work from that.
Forum: Everything else WordPress
In reply to: Pingback contains javascript code instead of post contentI have figured where the content is coming from. The page displaying the post has two columns: Left and Right.
The Left column has the actual blog post content.
The Right Column has the most recent posts with a one sentence about the post. Below these summaries, there is a section which pulls in the most recent twitter post. The javascript I mentioned earlier is also contained in this right column.
The PingBack is pulling this right column because in the generated HTML, the right column comes before the left column.
This brings me back to my original question. Is there anyway I can control what section of the page the PingBack pulls it content from?
If there is a hook or filter I could use to manually extract the left column when the request to get the PingBack content is made, I could solve this issue.
Forum: Everything else WordPress
In reply to: Pingback contains javascript code instead of post contentSorry, I wasn’t to clear with this line:
even javascript code that is part of the theme file generating the link
What I meant was that in the theme file for that post, there is Javascript. The Javascript has nothing to do with the generating the link. It is used to pull posts from the client’s twitter feed.
Based on your suggestion, I’ll see if I can figure why the PingBack is targeting the areas that it is.
The PingBack contains navigation from the top of the page as well as the bottom of the page, but all the content in between is missing.
Forum: Plugins
In reply to: [Magic Fields 2] Using Magic Fields 2 Template Functions with Ajax CallsThank you for the response, that resolved the issue.