0
votes
0answers
5 views
Settings API with arrays example
I'm using the Wrox WordPress plugin development book as a primary reference for getting started with a new plugin and I understand all settings can be saved as 1 array but the book does't give an ...
0
votes
0answers
2 views
filtering custom post types via meta data drop down
I'm trying to add drop down filters (that are populated by terms that are in use) to a custom search page for "opportunities" or listings page. Currently I am doing this with taxonomies but doing this ...
0
votes
0answers
5 views
How can I change the publish date based on a custom field?
How can I change the publish date based on a custom field?
Author uses a date picker to choose the date for journal entry. The date is used to make a list of all the users journal entries. I can ...
0
votes
0answers
7 views
Ajax function returns notice on ms-blogs.php
I have written some Ajax functions which works fine for trashing/resotring/deleting posts (with custom type: wpsc-product (wp e-commerce plugin))
Now, I want to use this functions to delete other ...
0
votes
0answers
7 views
Preexisting login to change to logout link in sub menu
I am using twenty twelve with a child theme. I have a link in my primary nav menu where I have an link for “My Account” which has a sub menu with a “Login/Register” link that redirects to a modified ...
0
votes
0answers
6 views
How to add a page to the Yoast breadcrumbs
I am using Yoasts Wordpress SEO and I have set up my breadcrumbs. The problem is that my page setup is s follows.
/
/about
/blog - On this page I query the posts and display them. The posts ...
0
votes
2answers
21 views
Up/Down voting system for Wordpress
Looking in all posts with keywords "voting system, upvote, downvote", I can't find a satisfying solution for this issue, except accepting one of the available plugins, spend a lot of time undersanding ...
-1
votes
1answer
19 views
query posts in wordpress
I want to filter my query results just before the_loop starts in word press. I only want the results having term_id or term_taxonomy_id equal to 1.
...
1
vote
1answer
11 views
Including a custom post type in the Archives widget
I have a custom post type called "videos" that I want to include in the Archives widget (stock widget in the TwentyTwelve theme). It DOES already appear on the archives page, but just not in the ...
0
votes
1answer
16 views
Can't seem to get [shortcode]s to work
function register_shortcodes(){
add_shortcode( 'my_shortcode', 'my_shortcode' );
}
add_action( 'init', 'register_shortcodes');
function my_shortcode( $atts ) {
return "--my_shortcode--";
...
0
votes
0answers
6 views
Images not loading
I am using wordpress on magento and i migrated the server. Now i have setup everything the blog url and site url is fine. When i upload images using media uploader the images being uploaded doesn't ...
0
votes
1answer
10 views
How do you return a menu with the menu name?
in functions.php, I've defined the following:
register_nav_menu( 'home_blocks', __( 'Home Page Posts', 'my_Theme' ) );
In /wp-admin/nav-menus.php, I've added a menu called Home Page Posts and ...
0
votes
1answer
8 views
How to show Categories and Sub-categories using WooCommerce
I would like to know how to display all the categories and subcategories on my WooCommerce archive-product page. (The shop index page).
I am aware you can go to the WooCommerce admin in Catalog ...
0
votes
0answers
9 views
Select Options Meta Data is Not Updating in Edit Meta Box
I have a Meta box with two user inputs 1: Text-field and 2:a Select drop Down options. I used following Save Method in mt Meta box and second part of the code belong to saving the Selected option from ...
0
votes
2answers
12 views
WP Super Cache - max-age
Reading the plugin FAQ:
http://wordpress.org/extend/plugins/wp-super-cache/installation/
After you have enabled the plugin, look for the file "wp-content/cache/.htaccess". If it's not there you must ...
0
votes
0answers
10 views
Latex in bbPress Plugin
I have installed bbPress plugin in a wordpress site. I have tried various latex plugins but plugin works for normal wordpress posts and pages but it does not work for bbPress forum.
Is there any way ...
0
votes
3answers
16 views
I want only my sub-pages to be clickable in the navbar
I am building a simple website with a number of pages, each of which is grouped.
Let's say my website has roughly 20 pages, grouped into 5 categories. So I want my navbar to display the 5 categories, ...
0
votes
0answers
10 views
slider disappears in sterling theme [closed]
I'm working on a website with Wordpress 3.5.1 and Sterling theme Version 1.0.7, and because it's a multi-language site, I'm using WPML 2.6.3. languages: (English & Persian)
everything is working ...
0
votes
2answers
26 views
specify size of post preview image (not post thumbnail)
On the main page of my blog, I have a section in the header with post thumbnails(140x170px) linking to specific categories. Below within the actual blog loop, I also have post previews- an image ...
0
votes
0answers
18 views
find functions associated to hooks [duplicate]
In Buddy Press register.php, I see code snippets
do_action( 'bp_custom_signup_steps' );
do_action( 'bp_before_register_page' );
etc.
I am unable to find functions associated to these hooks? have ...
0
votes
0answers
26 views
How to filter PHP opener?
I've been searching the web and in this great forum but I didn't find anything.
I got some issue with a code higlighter plugin. Everything is fine except that some php tags do not work properly :
...
0
votes
1answer
16 views
How add class youtbe and type/html to oembed cod?
How can i add :
class="youtube-player" type="text/html"
to iframe like :
function Oembed_youtube_no_title($html,$url,$args){
$url_string = parse_url($url, PHP_URL_QUERY);
...
-3
votes
0answers
14 views
.textwidget div has ridiculous width for some reason [closed]
I have custom made sidebars, and tried testing them, however main sidebar (on the right) doesn't look like it should do, I assume this is because .textwidget div generated by wordpres has width of ...
0
votes
1answer
17 views
Get Posts Link With Each Other
I am developing a news website and they want a (linked with other posts) at the bottom of the page. for example, while writing new post, they added a link to an old post and when reading these posts ...
0
votes
0answers
14 views
Form fields based on custom fields
I need to create a contest forms where the fields are based on values in several custom fields. The form layout is to be somewhat static, except from the contest questions (labels) and the type of ...
0
votes
0answers
4 views
Icomoon show up weird after 9 fonts? [migrated]
I'm using Icomoon for my site. It shows up correctly for the first 9 fonts.
Here's my code (CSS):
@font-face {
font-family: 'icomoon';
src:url('font/icomoon.eot');
...
0
votes
1answer
12 views
How to use getimagesize() of image upload?
I need to check the resolution of an image I want to upload via media box, and then upload it into a custom directory.
As a starting point I used part of the code from How Can I Organize the Uploads ...
0
votes
1answer
13 views
Wordpress Theme Update Action?
I've done quite a bit of searching. I'm looking for hook/action called after a theme update. I know the initialization one - but a basic update? Cannot seem to find.
If one does not exist, how can ...
0
votes
1answer
25 views
input radio 'checked' saves, but select option 'selected' doesn't
So I followed a tutorial on how to create a meta box w/ the taxonomy terms shown in radio buttons. (Tutorial here for others if interested: ...
0
votes
1answer
28 views
Wordpress Recent Comments Widget exclude own comments
apologies I have searched either for a recently updated plugin or article and cannot find anything. I am using the standard Recent Comments widget in my sidebar. I like to respond to all comments but ...
-1
votes
1answer
13 views
Ajax calls in wordpress
I want to send a ajax request in wordpress which tracks my clicks. For now i have added this in my functions file :
add_action('init', 'my_script_enqueuer');
function my_script_enqueuer() {
...
-1
votes
0answers
7 views
How good is to use Nginx with Varnish and Apache 2 [closed]
I am planning to move out few of my websites from shared hosting to VPS hosting and i am evaluating to use Nginx to host my WordPress powered sites.
After doing some analysis and Googling i came ...
2
votes
2answers
20 views
Redirect After Delete User in Backend
How do I redirect to a certain page after user deletion?
For demonstration purpose, let's say I want to redirect to the dashboard on user subscriber deletion. This is what I have tried so far:
...
-1
votes
0answers
6 views
Sharepoint like plugin for wordpress [closed]
I created my website (not blog) with wordpress. We want to use it for collaborative work. I like Sharepoint and I wonder whether asimilar plugin exists for wordpress and which allows to create tasks ...
0
votes
0answers
12 views
Does the Jetpack site stats plugin monitor only the WordPress directory?
I installed the site stats plugin:
I have this plugin installed in WordPress that is installed in a /wp directory. I also have a variety of sites hosted on the / (not in wp) and another WordPress ...
0
votes
0answers
11 views
Contact Form 7 conflict with Advanced Ajax Page Loader plugin
I am using Advanced Ajax Page Loader plugin form loading my pages. One of the pages contains Contact Form 7.
When the page loads, it shows fine but when I try to submit the form, contact form 7 ...
0
votes
0answers
10 views
<?php wp_register(); ?> Display logged in user as “Site Admin” apposed to Logged in user
I'm just working on a little hobby word-press site I have;
<?php wp_loginout(''); ?>
<?php wp_register( '',''); ?>
In the top rite corner of my site, <?php wp_loginout(''); ?> ...
2
votes
1answer
18 views
Best practice way to implement custom sections into a WordPress theme
I'm having trouble figuring out the best way to implement custom sections in a WordPress theme. For example I'm making a theme that will have four featured sections on the homepage. These sections ...
0
votes
1answer
9 views
Create a page that will be used to create a custom post type
I have created an 'event' custom post type and now I want to create a page that will allow users to create a custom post type from the front-end. Is there a standard way of doing this? I could ...
0
votes
1answer
10 views
display post thumbnail for specific category outside of loop
I'm building a theme that features a section wherein I'd like to have the single most recent post's thumbnail of a single category displayed between the header and blog sections. Something like ...
0
votes
1answer
23 views
Ascending Order is not Working in Custom Post Type Listining
Can you please let me know why this code is not listing Custom Post Types?
<?php
$loop = new WP_Query(
array(
'post_type' => 'product',
...
0
votes
0answers
14 views
Changing Style of Inputs in Admin
I think that I am missing something...
I am trying to customize the look and feel of the admin section of my site. A lot of my style are working as expected, but when I try to change the height of ...
-3
votes
0answers
17 views
Hook H1 Into Custom Front Page
The site i'm refering to is Safety Warehouse. It is currently running on a Genesis theme, with the front-page.php displaying a grid loop of the custom post type. I want to add an H1 (or at least a ...
1
vote
1answer
21 views
Limiting the WordPress feed to only a certain limit of characters
I have a WordPress installation that sometimes uses long and lengthy posts delimited by the <!--more--> tag. However on my RSS feeds, the entire post is shown.
Is there a way, aside from custom ...
0
votes
1answer
24 views
How to retrieve images contained in a post
I'm working with the new media manager, and have a little issue to retrieve the attachment of the post. I'm developing a plugin which needs to retrieve all attachments of specific posts.
I first ...
0
votes
0answers
21 views
I want to change my header color and insert a image in footer [closed]
So, I have been developing this wordpress site recently, and I want to change the header color to black color, I have used the Theme Tweaker plugin, but dont work. I also try using the css editor to ...
0
votes
1answer
14 views
How can i add a submenu to a custom menu of another plugin?
I'm writing a couple of plugins. One plugin would be the core plugin with certain bits of functionality.
The other plugin would extend that functionality.
What I've done is in the CORE plugin, I've ...
-1
votes
0answers
22 views
Wrong Page Title in h1 output, Strange Breadcrumbs
I use Wordpress 3.5.1 .
In origin I have used this template: http://html5blank.com/ .
Now, after modifications, I have a problem.
I use WooCommerce Plugin.
Q : in h1 (<h1><?php the_title(); ...
0
votes
2answers
18 views
How to Display Custom Meta Box only on Specific Page IDs
I am using Magic Fields 2 for custom meta boxes and custom fields, but this situation pertains to any meta box.
I have a custom meta box that I want to display on only 3 specific page IDs.
function ...
1
vote
1answer
21 views
Display the number of unseen comments on a page since the user last visit
The community is private and it has several pages /wordpress /design /etc . When users go to those pages the only thing they can do is to comment.
Now, what I am trying to do, Idk if possible, but if ...

