All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
200 views

I am not able to enable jQuery in theme settings

I have tried to - enable Use jQuery & then save changes. But after saving changes, checkmark Use jQuery automatically unchecks itself. I am not sure whats going on. Please help me here.
-1
votes
3answers
3k views

PHP code for link with text

I was exploring and ran across this post: https://wordpress.stackexchange.com/questions/22423/grab-first-link-from-a-post-grab-first-blockquote I would basically like to do the same thing, but have ...
0
votes
1answer
41 views

What is the general cut-off date for reviewed themes in the WordPress.org repository?

I know that the theme review team has been active for about one year now. Thanks to their hard work and diligence, the themes in the repo are much better now than ever before. However, I have noticed ...
0
votes
1answer
354 views

Hovercards and other hover over image functions don't work anymore!

This problem is driving me crazy. So, I've Jetpack installed and the Gravatar hovercards activated. I could live without them, but other "hover over image" functions (e.g. I'm using the Guan Image ...
4
votes
2answers
3k views

Create built-in pages without creating actual pages

For example: site.com/contact (or site.com/?page=contact if not using permalinks) when someone goes to that page I want to load a theme template, like page-contact.php But I don't want to create a ...
0
votes
3answers
502 views

Dropline menus — seperators between children only?

I'm working on a custom dropline menu using wp_nav_menu. Using wp_nav_menu( array( 'theme_location' => 'primary', 'after' => '|' ) );, I can put separators after every item. However, I'm only ...
3
votes
2answers
981 views

Copy a Taxonomy Term into the Post Title for a certain Custom Post Type

I am using Gravity Forms to allow users to create posts from the front end. However, the way this site I am building is going to work, one specific Post_Type is essentially just a "Data" post. There ...
0
votes
2answers
3k views

Jquery UI not working

I am trying to integrate the Jquery UI select menu ("dropdown" Style), in my wordpress site. But I am not able to do it, in widget area I created a select box and gave it respective ID of that css ...
1
vote
1answer
2k views

How to modify an existing meta description?

I'm coding a plugin that allows me to dynamically insert content for my meta description and title. The content is already being pulled fine, the only part I can't get to work is actually filtering ...
2
votes
2answers
5k views

Can't find plugins in menu for wordpress 3.2?

Wordpress changed quite a bit from 3.1 to 3.2. I have played for an hour to find the plugin section but not success. Usually they would be on the left hand side in the menu. Now they are not there. ...
8
votes
3answers
21k views

Custom post type pagination 404 fix?

Been trying to get this working all day but haven't had any luck... I have a custom post type called 'news' and an archive template (archive-news.php), here I'd like to show 2 posts with pagination, ...
0
votes
3answers
6k views

Category.php template for custom posts

I'm trying to use my category.php file to display all posts of a certain custom post type (say "Company") with a given category. However, when I try to use it by navigating to domain.com/category/...
0
votes
2answers
56 views

Are there any hosting companies that are already setup and configured for TLD domain mapping?

Are there any hosting companies out there that cater to users who want to utilize TLD domain mapping and WordPress Multisite? Or will you have to go the route of building, configuring, and maintaing ...
2
votes
1answer
202 views

How do I add a body class to specific pages?

Here is what I have so far in my functions.php. add_filter('body_class','cp_new_body_classes'); function cp_new_body_classes($classes) { if( !is_page_template() ) { $classes[] = 'reg-page'...
7
votes
3answers
8k views

Do_Shortcode not working for Embed

I'm trying to use Custom Field types to embed Youtube videos in a more organized fashion and using the Do_Shortcode() would seem to work perfectly, however this: <?php echo do_shortcode('[embed]...
0
votes
1answer
133 views

Add custom row to welcoming in dashboard

I have one plugin which conflicts with new design of dashboard. I see, that author doesn't bother with support, so I thought I do it myself or at least try. So I would like to add custom row to this ...
1
vote
2answers
1k views

How do I create a gallery page?

I've been pulling my hair out trying to figure out how to make a photo gallery page. I hope I can explain it in a way everyone can understand. I have alot of galleries on my site and I would like to ...
4
votes
3answers
8k views

Remove admin menu for custom taxonomy attached to custom post type

I'm trying to create a taxonomy that is sort of hidden.. meaning i intend to adjust the metabox so that you can only select a unique term from 3 options. "featured","normal" or "excluded". but i can'...
1
vote
1answer
2k views

How to limit search to first letter of title?

I was wondering if there was a way to make the search only look for the first letter in the posts title, basically let's say my search query is www.mysite.com/?s=q I'd like to get all posts that start ...
-2
votes
1answer
791 views

How to create full header but keep content narrow

I want to set a full header in wordpress theme, while i want to keep the content narrow (center). How can i do that? I'm trying like: <body> <!-- BEGIN header --> <div id="header"&...
2
votes
2answers
1k views

Not enough memory

Sometimes after activating a plugin the admin side is blank with a memory error message, sometimes the front page too. The standard fix is to increase the memory in config.php. What is the best way ...
2
votes
2answers
922 views

Wordpress Action Hooks and Post ID?

I'm creating a very basic Wordpress plugin whose purpose is to display a numerical value beside each post. My Logic for the plugin function (plugin.php) is this: <?php function foo($post_id){ $...
0
votes
1answer
2k views

Show the categories the current post has

I have a custom post type; posts of this type can have either one or two categories associated with them. I need to display the names of the categories that are associated with each of these custom ...
4
votes
2answers
4k views

WordPress keeps fetching the archive page instead of the template page

I have a template set up and I've created a page in WordPress and have chosen the corresponding template in the drop down. I have created templates for several pages of this site and they've all ...
0
votes
1answer
1k views

wp-comment-post.php and header already sent issues

I'm new here and I really hope somebody can help me. I've tried alone for many days, found a lot of solutions that worked for others, but that didn't work for me and so I really hope somebody here can ...
0
votes
1answer
437 views

Ajax request with jQuery without WP_ajax

I try to made a website in full ajax (a html5 website). I use jquery and innerShiv (for ie). For exemple I want to load all the content of the "section" tag of a page. When I use that script, it ...
0
votes
1answer
51 views

Attachments without images

I am using the Attachments plugin, but this question I'm sure is applicable to the regular media library. What I want to do is have an 'attachment' (metadata, title, caption) but with no image ...
0
votes
1answer
116 views

loop on page makes shortcode fail

I have this typical WordPress page (page.php): <?php the_post(); ?> <div id="rightcol"> <div <?php post_class(); ?>> <?php the_content(); ?> </div> All works ...
0
votes
2answers
1k views

Action for opening edit page in admin?

I have a function that kills the media buttons on certain custom post types. I want it to load whenever any post/ page edit page opens. What's the best action to hook this up to? Thanks in advance.
5
votes
2answers
8k views

How can I retrieve multiple get_post_meta values efficiently?

I am looking for a solution to returning multiple get_post_meta values... Current I am using a meta box array as follows: $meta_boxes[] = array( 'id' => 'setlist', 'title' => 'Setlist ...
0
votes
1answer
145 views

User generated content and security

I'm gonna create a new site. I want to make the site as user generate able content site. Basically this is my site's function. Users signup in my wordpress site, Submit content from wp-admin panel, ...
1
vote
1answer
864 views

TinyMCE in Custom Metabox not loaded after upgrading from WP 3.1.4 to WP 3.2

I want something very simple: a custom metabox with a TinyMCE editor in it. The following code help me achieve that easily in 3.1.4: add_action( 'add_meta_boxes', 'add_metaname_box'); function ...
0
votes
1answer
157 views

My WP_Query didn't work after upgrading to WordPress 3.2

I created a custom loop using WP_Query for my featured content slider. <?php $slider_query = new WP_Query(); $slider_query->query("posts_per_page=5&tag=".(get_option('cgr_slider_tag'))" ");...
0
votes
3answers
19k views

How to display posts month by month?

How could wp-query be used to show posts month by month, and have it only show the past year? Or is it possible some wp_archive hack could handle this?
0
votes
1answer
51 views

Attaching a Custom Taxonomy to Posts?

Say a plugin creates a custom taxonomy and attaches it to some custom post type. Is there a safe way to attach that same taxonomy to Posts?
1
vote
1answer
1k views

How to: wordpress job listing and candidates details

I am developing a wordpress site (http://new.saffronresourcing.com/candidates/) where candidates who wants to apply for jobs will be able to upload their cv along with their personal details. I ...
0
votes
1answer
1k views

Custom Post Type fields not showing in dashboard

I have a custom post type for 'Teams' set up using the code below. However, the fields for 'Latest Discussion' and 'Next Fixture' isn't showing up in the dashboard. I went over the code numerous times ...
0
votes
2answers
472 views

Trying to create a custom post type, post type box doesn't show up?

I have a custom post type set up with the following in my functions.php. The problem is that the post thumbnail box doesn't show up in the dashboard in the "Talent" section even after I specified '...
1
vote
1answer
2k views

List of files/folders writable by the web server?

New to WP. I soon realized there are some files that need to be writable by the web server, otherwise various operations fail. Moreover, the lists seem to be different for different tasks. Not sure I'...
1
vote
1answer
3k views

Filter or Hook to catch pre-rendering of post content

Is there a filter or hook that is triggered just before post content is rendered? What I'd like to do is to apply a filter to the text content of a post just before the post text is being rendered.
1
vote
1answer
416 views

How to customize tag and category post listings to show introductory content?

In wordpress, we allow google to index our category and tag pages. We don't use no-index for tag or categories, which results very high ranking in a lots of keywords and we are receiving very high ...
6
votes
2answers
7k views

How to make pages slug have priority over any other taxonomies like custom-post, post or category

I use WordPress as a CMS. I need to show page instead of category when they have same slug. I have category called "vertical machining centers" with the slug "vertical-machining-centers" This ...
7
votes
4answers
756 views

Supporting older WordPress versions in a Plugin/Theme? [closed]

The practice of only supporting latest WP version seems popular in WP development circles, yet there is massive percentage of blogs running outdated versions. Not supporting those plugins seems it can ...
0
votes
1answer
199 views

1 WordPress, 2 themes, 2 domains, 2 servers

I've got two sites which are hosted on different servers. 1) domain-one.com 2) domain-two.net I installed a WordPress blog on site one at domain-one.com/blog/. I want visitors of domain-two.net to be ...
0
votes
1answer
444 views

If/elseif statement within wp_mail function

I need to know what is wrong with my if statement here: //EMAIL ADMIN BASED ON PROBLEM_TYPE function new_post_creation_email() { global $post; $postid = $post->ID; $problem_type = ...
0
votes
1answer
982 views

Is there a function to add additional options to the Twentyeleven option page?

I would like to add additional options like footer text to the Twentyeleven options page via child theme. I know how to create theme option page but if possible I would like to use the one that comes ...
-2
votes
1answer
2k views

Plugin to Display Content on Page

I am creating a plugin in which I will need to display content on a page. I have seen plugins that allow an administrator to put something like [display-content] in the visual editor which displays ...
0
votes
1answer
437 views

Conditional wp_mail statement on post

I am currently posting from the front end using a similar model as http://voodoopress.com/2011/03/review-of-posting-from-front-end-form/. I want to send an email to certain addresses based on the ...
0
votes
2answers
453 views

How to troubleshoot 404s in Wordpress admin

There are several threads on Wordpress.org about this problem, but none with solutions. I just went from localhost (MAMP) to a live server (Dreamhost) and I'm getting constant 404s when submitting ...
3
votes
2answers
2k views

Use rich text editor in comments?

I've been trying to get the TinyMCE editor working in the comments field but I've been unable to do so. Another suggestion I found was http://nicedit.com, the editor is working but the comments are ...

15 30 50 per page