Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (9)

-1
votes
2answers
72 views

HTML in PHP problem [closed]

I have the following code but I always get an error, it's the first time I've tried to merge HTML with PHP: <?php if(get_field('post_image')) { echo '<img src="'. get_field('post_image') ...
0
votes
1answer
73 views

adding custom meta as well as looping through posts

I am grabbing two sets of custom meta and looping through the posts, order goes: custom meta1, posts, custom meta2. but for some reason the second set of custom meta wont show up if I add the posts ...
2
votes
2answers
3k views

How to include own css on wordpress tinymce editor?

I have added some text on tinymce editor on load. (Every time you click on Add new the tinymce editor load with this text.) but problem is how to enable css class which are using in default text. ...
0
votes
2answers
201 views

Custom Taxonomy Sort For a Custom Query

I am trying to custom sort taxonomies on a custom query I have written for one of my website I cannot use any custom plugin as I have tried and they do not work with my current setup. ...
2
votes
3answers
2k views

WordPress plugin to publish to multiple remote WordPress blogs

I have a WordPress (.org) blog (let's call it blog1) that is used by many authors, who may create, edit and publish posts (on blog1). Each author has her/his own WordPress blogs, hosted elsewhere. ...
15
votes
9answers
3k views

How to structure a plugin

This isn't a question about how to build a WordPress plugin. Rather, what, if any, guides could be applied to how to put together the file architecture of any plugin. Some other programming languages ...
2
votes
1answer
336 views

Widget Options Not saving

I am trying to create a custom Recent Posts widget that accepts a category, to show only posts in that category. I'm having trouble saving the widget options. I've done some debugging and found that ...
5
votes
2answers
385 views

What are the ADVANTAGES of ORIGINAL wordpress template structure?

Precondition: coming from a Custom PHP applications(using symfony, zend and so on) world, for me it feels unnatural to have template separated in a way that is done in original wordpress theme. e.g ...
0
votes
1answer
122 views

how to add datas in taxonomy to post with wp_insert_post

how to add datas in taxonomy to post with wp_insert_post this is my code but it is saved in my texonomy draft,why? i have given post_type=publish. $my_post = array( 'post_title' => ...
0
votes
1answer
297 views

Remove the 'Press This' Tool

Is there anyway to remove the 'Press This' tool from WordPress for all users? Thanks!
0
votes
1answer
123 views

Edit the Publish Widget Options

Another noob question - under the 'Publish' widget in a default vanilla installation of WordPress 3.3.1, we would like to 'simplify' the Publish widget/ Specifically, we would like to have no 'draft' ...
-5
votes
1answer
458 views

What does this PHP function code mean? [closed]

Can someone please help me to understand each part of this code? Can you comment every line so I can understand and custom the code accordind to my purpose. Here is the link in pastebin: class ...
0
votes
1answer
43 views

Add a filter to a different custom plugin

Someone has built a custom plugin that adds a textarea on the admin/edit page, and a div on the pub page. I no longer have access to the person who built the custom plugin. I have created a filter ...
0
votes
3answers
2k views

Recommend an open source, template driven website builder UI that produces a working WordPress site [closed]

I'm a programmer at a domain registrar and web hosting company. In the past year or so we have branched into custom web design for individuals and small businesses. Currently all our solutions are ...
0
votes
1answer
820 views

How to query term_id of a Custom Taxonomy by name

I have created a custom taxonomy "Birthday" within which i have created various dates like "December-12", "April-15" How to get the term_id of the "December-12" by a query. Thanks.
0
votes
1answer
165 views

What is the best way to manage small blocks of content on my home page?

Excuse the newbie question. I have a home page that has 2 sections on it. None of these sections are the 'blog' which is in another section of the site. I suppose I'm looking for another way of ...
1
vote
1answer
213 views

Best structure / rewrite rules to achieve the following url

I have been trying to achieve the following url structure in Wordpress and maintain a level of reusability in the admin area. It is for a client preview area and needs to reflect multiple versions of ...
2
votes
1answer
1k views

Check before publishing, if already exist post with current custom field value

I have a custom post type with only 3 custom fields in it. $post_types = get_post_meta($post->ID,'post_types',true); $post_taxonomies = get_post_meta($post->ID,'post_taxonomies',true); ...
0
votes
1answer
84 views

How to create Custom image post?

I want to create a custom post type in which a post is only an image, title and description. I want to have a front-end option for users to enter such a post. What plugins do i need to play with in ...
1
vote
1answer
704 views

Remove Custom Taxonomy Slug from Permalink

I have a registered custom taxonomy called articles to my posts. So if I have a term called reviews, the link to my custom taxonomy reviews archive would be www.mysite.com/articles/reviews/ . I would ...
2
votes
3answers
172 views

Can this navigation be done easily in WordPress?

Can anyone please let me know if a dual navigation style is easily achievable or not possible. A WordPress developer I'm in touch with is telling me it's not. Basically, we would like the navigation ...
0
votes
1answer
196 views

Archive subtitles for different types of archives

I would like to display a custom subtitle for the different type of archive pages. I can easily know what type of archive page I'm in (date, category, etc.) but I have found nothing online that tells ...
4
votes
3answers
2k views

Adding extra authentication field in login page

I am going to enhance my WordPress authentication page. My idea is that simply adding an extra field into the login page. The extra field will require user to enter personal identification code (4 to ...
0
votes
2answers
283 views

How can I display custom post types under multiple views?

I want to create custom post types with multiple views based on URL. E.g., suppose I have a "Product" post type. I would like to have something like the following: ...
0
votes
1answer
100 views

Profiles site with access levels

I'm building a site for a intranet that display data about people (totally legal!!). we will call these people Alumni. The structure is like this: there are three roles, administrators, alumni, ...
2
votes
1answer
166 views

Using Custom Posts with Metaboxes and Drop-downs

When using Custom Posts and adding a Metabox, I was wondering how I could add a drop-down menu that would populate data that was added by the user. For example I want to be able to select a 'source' ...
3
votes
3answers
1k views

Removing fields from the Media Uploader/Gallery

I've been searching high and low for an answer. I simply want to remove the Alternate Text, Caption, Description and Link URL-fields from the uploader and gallery view. I seem that every thing else ...
0
votes
1answer
220 views

Getting post and attached image from subdomain

I Recently installed wordpress as subdomain on my main website. Now i have two installations: www.example.com and www.example.com/store/. Now i want my Main domain to show recent posts from subdomain ...
2
votes
1answer
1k views

front end post with multiple upload images?

I am using front end post with upload image, my code if (!function_exists('wp_generate_attachment_metadata')){ require_once(ABSPATH . "wp-admin" . '/includes/image.php'); ...
3
votes
1answer
456 views

Search through custom post type and custom fields takes 5 minutes

I got strange problem and im stuck. I have custom post type with around 15 custom fields. I moved data from old db (not wp) by using wp_insert_post ,update_post_meta and wp_set_object_terms. All ...
0
votes
1answer
94 views

Hide custom menu when when no menu selected

The title might not a 100%, feel free to correct... I'm building a custom theme that has a couple of costume theme locations for menus (1 main menu, 1 footer menu, 1 "Follow Live" button). These are ...
0
votes
1answer
241 views

I need a “Choose from existing content” popin

I'd like to create a field that allows the admin to select from other existing post types. Specifically, I want to create an options box to choose which events display on the homepage. For now, I've ...
0
votes
1answer
616 views

How to Use the Function is_user_logged_in To Display Different Menus?

So, I want to create different menus for people who are logged in or not. I got a reply that i should use a function if (is_user_logged_in()) { wp_name_menu(array('theme_location' => ...
0
votes
1answer
544 views

How to create different menu's for not logged in visitors and for logged in members?

I'm creating a website which will provide services to members and I want to make it so that when a not logged in person comes to the website the menu is specifically designed for sales pages to make ...
0
votes
1answer
119 views

How to make number of blog posts a custom field?

I'm using advanced custom fields and I have the following code: <?php $args = array( 'numberposts' => 3 ); $lastposts = get_posts( $args ); foreach($lastposts as $post) : setup_postdata($post); ...
0
votes
1answer
404 views

How to remove the tagline from the HTML <title>?

I'm using the default Wordpress 2011 theme on a new blog I'm setting up. I've got everything basically setup fine for now. I have experience with PHP/MySQL and HTML/CSS, but haven't used WordPress as ...
1
vote
1answer
59 views

How to update same text on two Pages at once [closed]

One of my sites is for a local organization with different clubs within the one organization. I have to list the upcoming meetings in two separate locations: (1) the home page where the upcoming ...
0
votes
1answer
741 views

Change how WP e-Commerce calculates price total at checkout

My situation: I'm selling a few products. I need to get some options at checkout (like Do you want to add installation services?) that will affect the price, and I need to reference a custom ...
1
vote
1answer
320 views

Custom Log In Screen - Disable password recovery [duplicate]

Possible Duplicate: Change login error messages I'm creating a custom log in page on a wordpress install and would like to remove the "Lost your password?" link from the "ERROR: Invalid ...
0
votes
2answers
91 views

How to store page visit counts?

I am working on a project, which requires a page visit count to be shown on the single post. How can I do this in wordpress, I am guessing, that I have to store them in the same wordpress db?
1
vote
0answers
468 views

GeoMashup plugin: how to customize cluster markers / icons?

Is there a way to customize the standard cluster icon marker which GeoMashup uses to display nearby posts grouped in a certain area? By default it's a red dot in V2, or a blue dot in V3. I nee to ...
0
votes
1answer
174 views

Custom table or form

i need a form or table plugin that can be customized to do this: For example: I am a parcel shipping company. I need some form that can be filled out with shipping info. Later, customer logs on the ...
3
votes
1answer
283 views

Pagination Help on Crazy Custom Authors Page

I've got a custom authors page for a multi-author blog. http://blog.securitytechnologies.com/meet-the-team/ Here's the code I'm using to generate the page (thanks to other folks in the support ...
0
votes
1answer
1k views

Use a shortcode to display custom meta box contents

Is this possible? If so, can someone point me towards a clear tutorial? I have a column of content I want to float right of the_content, so I'd like to be able to use a shortcode to put that content ...
1
vote
2answers
695 views

How to show custom field's value under post/page title in wp-admin

I'm trying to add the value of a custom field under the post/page title in wp-admin list of posts/pages (much like excerpt mode in posts list) without hooking into the columns process since other ...
1
vote
3answers
2k views

Any way to use a custom Parameter for youtube embed without using an iframe?

I do not want to display the titles of videos I embed on my wordpress site. The way I've been doing this is using the embed link, inserting the iframe in the wordpress post and adding the custom ...
0
votes
1answer
78 views

Display ONLY Latest Post From Several Categories

I have searched for this solution on here and was not able to find one that worked for me so I apologize if this seems like a redundant question. I have several categories that I want to display ONLY ...
0
votes
1answer
292 views

Custom post type slideshow background images to insert in a plugin

I have a slideshow which is populated with background images from a custom post type. Here's my code: <?php // start the loop foreach($slider_posts as $post) : setup_postdata($post); // get ...
0
votes
1answer
80 views

My contact form - I've changed the source code but the changes are not being applied

I obviously found the file responsible of displaying the contact form with FireBug, changed the displayed names in the input area and then re-upload my file, however, nothing was changed. The input ...
1
vote
1answer
569 views

Query post for 'selected category' in archive.php

I'm trying to figure out how to display a 'featured post' on a selected category archive. My website uses the category-based navigation for different types of posts (text only post-blog, and image ...