0
votes
0answers
3 views
Post content stays the same but permalink changes ?
This is really weird. I made a posttype ' mediagallery ' via the plugin Types fields.
I simply want to load the post content and switch the posts with a next & prev button in de sidebar.
The post ...
1
vote
1answer
103 views
Adding dynamic content to end_lvl in Walker Class
I'm trying to add unique content to the end of each dropdown (sub-menu). I've managed to edit the end_lvl function of the walker class to add the div to the end of each sub-menu, but now I'm lost on ...
0
votes
0answers
7 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
2answers
22 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 ...
0
votes
0answers
7 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
4 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
1answer
161 views
Get single image from custom fields made with WCK custom fields creator
I used WCK Custom Fields Creator to create a repeatable custom field for uploading pairs of images (one color, one black and white) to posts. So for example, one post may have three fields, with two ...
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 ...
1
vote
1answer
182 views
Show only the grandchildren (using get_terms)
I'm working with a hierarchical taxonomy (named "world") that has 3 levels to it (Regions > Countries > Indigenous Peoples). At the moment I'm using a modified version of this code to paginate ...
0
votes
2answers
65 views
Disable auto hide of the login form on Woocommerce's checkout page
I'm in the process of trying to style a checkout page in Woocommerce and need the login form to be visible all the time when the user is not logged in rather than initially hidden then toggled on and ...
3
votes
2answers
112 views
How to increase image size returned from Flickr oEmbed in Twenty Twelve theme
I've been using the excellent Flickr Gallery plugin for a while but while upgrading a site to WP3.5 and the Twenty Twelve theme, I stumbled across oEmbeds and notice that Flickr is supported natively.
...
-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.
...
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 ...
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
3answers
17 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
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
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--";
...
1
vote
2answers
124 views
How to sort list of custom posts to get view like a tree of posts under categories and their children's categories?
I'm new here and my english isn't perfect so I'm sorry for this :) I'm here because I'm workin on site with post list sorted by category and I have problem with sort out my posts in categories and ...
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 ...
-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 ...
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 ...
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
1answer
9 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 ...
3
votes
1answer
178 views
How to show list of posts by author and category?
Let three categories and their IDs:
cat1 = 1 (parent)
cat2 = 2 (child of cat1, parent of cat3)
cat3 = 3 (child of cat2)
Let each category has 3 posts, they are: post1, post2, post3.
And each posts ...
3
votes
2answers
930 views
How-to implement admin Ajax inside an admin WP_List_Table?
I am new to WordPress if someone will help me I will be very appreciate.
There is parameter ajax "true" but in docs. wasn't said how to implement Ajax using WP_List_Table Class?
parent::__construct( ...
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 ...
1
vote
3answers
3k views
Show just one level of child pages, wp_list_pages woe
I'm working on a site that has a fairly large page structure a few levels deep - in some sections there are a lot of pages.
The basic setup is something like this...
Parent
Parent
Parent
-Child
...
4
votes
2answers
2k views
Wordpress Multiple Category Search
From few months I am digging into wordpress for multiple category search options, and finally came up with this.
I just found that wordpress allows multiple tags, which means that if in your URL you ...
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
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
268 views
problem saving/ retrieving custom meta with wp alchemy metabox
I am using WPalchemy metabox class to add a extra meta field to the pages editor which will allow me to attach galleries to pages. I use the class:
$gallery_metabox = new WPAlchemy_MetaBox(array(
...
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
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 ...
1
vote
1answer
123 views
Send email on Job Dispatched from WP e-commerce
I sell a product using WP e-commerce that is downloadable only after I check some information that the customer sends me. After checking the information I would like to go to the WordPress dashboard, ...
0
votes
1answer
247 views
filter the post listing for a particular category from archive month list
I have the month year archive list in my sidebar. after clicking on any month all post on that month listed. Now I how can I filter the post listing for a particular category ?
What I mean is that ...
-3
votes
1answer
24 views
Post title not output correctly
I am trying to set up titles of posts with WordPress SEO, however my title gets output like this:
My post name
There is no separator and site name.
Here's the code in the theme:
...
0
votes
0answers
24 views
WP current category - strange behaviour [closed]
I've use this code:
$current_id = get_query_var('name');
echo $current_cat;
$category_id = get_cat_ID($current_cat);
echo $category_id;
to get current page category number. Everything is working ...
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
1answer
867 views
Easy Nivo Slider with NextGen Gallery - add caption/description
I have downloaded and installed Easy Nivo Slider and incorporated it with Next Gen Gallery. I got it up and running, but I was wondering if anyone was able to get the "caption" / description to ...
0
votes
1answer
327 views
the_author_meta not working
I'm trying to use the_author_meta to retrieve some links which users can set in their profile.
I set up extra profile fields and they are saving to the database.
On my author.php I have the ...
0
votes
1answer
269 views
Allow Access To Subfolder Of HTML For Logged In Visitors
have a wordpress site installed in the root folder. Beneath the root is a /docs folder with a bunch of older html files. I'd like to allow only logged in wordpress users to be able to have access to ...
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
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
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
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 ...
1
vote
3answers
402 views
Getting Details Of Uploaded Image
I'm using Wordpress' upload system (as explained here) on my plugin's admin page.
I can upload an image and get this image's URL. But i need attachment ID, image caption etc. How can i reach them?
I ...
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);
...
1
vote
3answers
1k 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 ...
1
vote
1answer
118 views
Using separate Apache log files for multisite
A while back I left Blogger and downloaded my blogs to my system. I hosted them there with each individual blog as a VirtualHost for a while. Later, I imported them into WordPress and am hosting them ...
0
votes
1answer
19 views
SQL Bulk Move old posts by one author to another category
I'm looking to move a number of old posts by one author from one category to another category and was hoping someone could help me do this?
I figure the easiest way would be through an SQL command?
...
