0
votes
1answer
40 views

get post excerpt by query

I'm trying to get post excerpt by query my code is below global $wpdb; $posts = $wpdb->get_results ("SELECT post_title, post_excerpt FROM $wpdb->posts WHERE post_status = 'publish' AND ...
0
votes
0answers
9 views

Removing the 1st line in a post snippit showing on homepage AND leave it on the internal post

I have a magazine blog where different writers of each post is credited (i.e. by Larry Hamilton, Sr. Writer). The problem that I am having is that on the homepage the snippit should look like this: ...
0
votes
0answers
40 views

Live coding in WordPress

Is there a plugin or an easy way to integrate code writing and compilation windows in WordPress, for example to duplicate the Learn Python functionality (see at bottom).
0
votes
0answers
60 views

Sub post not showing in wordpress admin

I am trying to show all the post (including sub post) in wp-admin. but the post which are having parent are not showing in the list of post although the count is giving like 142 post but showing 42 ...
0
votes
2answers
318 views

Creating a press page for our project

Over time our project got some good press: press releases, interviews, media appearances Now I want to create a "press page" (something like this). Requirements: is easy to update - everyone can ...
0
votes
0answers
24 views

Strange behavior when I insert XML code snippet into articles using SyntaxHighlighter Evolved Plugin

I am using WordPress for a technical developing blog. I am using the base WordPress editor to write my articles (not using other plugin) I am using the SyntaxHighlighter Evolved Plugin to enter code ...
1
vote
2answers
65 views

WP-Markdown treating java generics like HTML tags

With some Java generic code in a code block, ie: List<Integer> l = new ArrayList<Integer>(); WP-Markdown was treating as HTML, and no matter what I did, the code above got turned into ...
-2
votes
1answer
74 views

Code snippet plugin not working correctly with Windows live writer and Wordpress

Downloaded the The Live Writer Source Code Plug-in For WordPress.com Blogs. The preview looks good but the published version looks really messed up. Could anybody let me know what could be the fix. ...
0
votes
1answer
324 views

How to remove automatic generated <p> tag in Home page

I am new to Wordpress and need some helps here. I am trying to add posts that have written codes for the demonstrated purpose of programming languages. I installed SyntaxHighlighter Evolved plugin. ...
8
votes
2answers
346 views

How to get a variable number of posts per post type on the main loop?

I'm looking for a way to balance the content at the homepage of my blog: the blog has a few post types like Poscasts, Videos and Blog and I'd like to have let's say 10 Posts on the homepage, but I'd ...
4
votes
2answers
1k views

How to create a custom button for the visual editor that adds 4 non-breaking spaces? (plugin or simple code)

To Wordpress' visual editor (TinyMCE), I would like to add a button that adds four non-breaking spaces when clicked, like this: &nbsp;&nbsp;&nbsp;&nbsp; I found some plugins that ...
1
vote
2answers
102 views

How can I include PHP-Code to my post?

I would like to use PHP in some posts. These posts should look like normal posts, be in the archive and categories like normal posts an have tags. I don't need PHP in every post, but it would be ...
0
votes
1answer
44 views

Looking for a good way to include php code in posts, but using special include markup rather than direct php code

Ok, bit of a weird one... I want to include php code on one of my pages within the content by adding something like: Welcome to the payment page [paymentform] Blash blah vlha... And then ...
0
votes
2answers
90 views

Switching Code plugins

I am currently using "Wordpress Code Snippet" to add functionality to my code i insert into my posts. The way this plugin works is that you add the code into the plugins library in the settings and ...
0
votes
1answer
149 views

Why aren't my Follow Me links working?

I've been working o my website and I just noticed that most of the links from my Follow Me plugin are broken. The feed link works fine, but everything else leads to a 404. I can see what's wrong ...