0
votes
0answers
2 views
Assign a group of users to do anything with a group of posts
I took a look at Role Scoper (http://wordpress.org/extend/plugins/role-scoper/) but after about 20 minutes of playing around and trying to understand how it works I couldn't get it to do what I ...
-1
votes
0answers
11 views
How to add custom jquery to wordpress? [closed]
At my woocommerce site site im getting syntax errors, when im trying to add a custom function, so i must have implemented the function wrong. The code sample below is my functions.php file, where i ...
0
votes
1answer
22 views
Woocommerce “out of stock” message
By default the "out of stock" message is being output as a <p> tag after the product description. How can I change the location where this message is being rendered?
0
votes
0answers
18 views
How to add characer to content of post?
In per posts, there are "oo/x/".
How to add "0" before "x" if length(x) <10 ?
Example:
x=12345678 ; length(x) = 8, so add "00" before x ===> x=0012345678
x=1234567 ; length(x) = 7, so ...
0
votes
1answer
13 views
Problem with the_autor_meta(); [closed]
this does not work
<a class="otro" href="<?php the_author_meta('facebook'); ?>" title="Facebook" target="_blank" >Facebook</a>
The result is ...
0
votes
0answers
16 views
querying on custom meta fields and sorting them by custom meta
I have event posts with multiple custom date and time fields.
To pull all the events happening this week, I am querying on the different date fields.
Here is my code:
$today=date("Y-m-d");
$nextweek= ...
0
votes
0answers
19 views
Calling Custom Taxonomy Dropdown in Form
I'm writing a plugin to allow users to submit fragments of lyrics to my site. I have the plugin working minus one aspect. When entering the lyrics I would like users to be able to select the artist ...
-1
votes
0answers
13 views
When adding action or shortcode from inside a class, do I reference it with &$this or $this? [closed]
I have a class, a WP plugin that adds actions and a shortcode. However in tutorials I saw the type of referencing the class with &$this and in some other cases $this.
add_action('init', ...
0
votes
0answers
16 views
Show 4 Last post That Only Selected Featured Image
i want show 4 post Only have thumbnail image in front page. Please Help Me!
0
votes
0answers
11 views
Maintain custom post types and taxonomies in all themes [duplicate]
When I change the theme in dashboard, activated plugins that use custom post types, stay in the menu. But my own custom post types that I created myself disappear. Logically, It is because I create ...
0
votes
0answers
24 views
Wordpress shows 404 on pages 11 and above?
Recently I noticed that every page on post list above 10 shows 404 error. My site is http://skuvajme.com/, hosted on site5 and I'm using modified "Magazine Basic" theme.
http://skuvajme.com/page/10 ...
0
votes
0answers
16 views
add file upload to post type
Short question but how can I include a pdf file attachment upload inside a custom post type? currently creating a new custom post type and I can't see a supports for media upload without the editor... ...
-1
votes
1answer
12 views
Rollover button doesn't appear in sidebar [closed]
For some reason, I can't add a PayPal donate button to the sidebar of my website. I've been using CSS to create a rollover effect, and while it's worked on a static page of my site: ...
1
vote
1answer
17 views
How to use MarkDown in a custom textarea field?
I've created a custom metabox with a textarea in it. How would I go about using Markdown in this textarea? I've seen some WP plugins but they seem to only be for the main editor.
0
votes
1answer
15 views
Bulk Attach Or Insert Media To Post Without Opening Post Editor
How to create a custom panel inside wp admin dashboard where we can insert media to specified posts in bulk? Here is the illustration:
http://i.stack.imgur.com/fS5Vc.jpg
As shown on the image above, ...
0
votes
1answer
10 views
first instantiated SimplePie object cosumes 5mb?
This following lines causes 5mb memory consumption. It appears large to me.
if ( ! class_exists( 'SimplePie' ) ) include_once( ABSPATH . WPINC . '/class-feed.php' );
new SimplePie();
...
0
votes
0answers
11 views
Delete Term via edit-tags.php
I might get rep'ed down on this - but is there suppose to be a "Delete" link on the edit-tags.php page? Note: not the WP-List-Table, but the actual page where you specifically view the terms ...
0
votes
0answers
12 views
dropkick.js styling of select box in woocommerce?
At my site I want to change the styling of the select boxes. I've tried with the Chosen plugin, but that didn't change anything as it automatically should. Now i've tried to implement the dropkick.js ...
0
votes
1answer
16 views
Problem with content - not loading
So, this is my problem... Everything in my wordpress website is up and running, except when I get into a post and the content simply doesn't load. Everything else does, except for the post content.
...
0
votes
0answers
15 views
Problem with custom fields for custom meta data
I'm trying to fix an problem in custom fields for meta data information. I already added the code to add some code:
add_action("admin_init", "admin_init");
function admin_init(){
...
0
votes
1answer
19 views
Display CPT index page as front/home page
I'm building a website that's sole purpose is to display other websites (defined in the CPT). Think of it as a portfolio site for a company's digital assets. I have already defined the CPT and added ...
0
votes
1answer
20 views
Control content before and after custom post type loop
I am trying to create a left nav menu that contains a couple of different taxonomy lists of a custom post type. For example, the left menu might look like this...
<h2>New Stuff</h2>
...
0
votes
0answers
7 views
How do i move a sticky menu below the toolbar for logged in users? [duplicate]
I have created a sticky menu but its hidden by the WordPress tool bar for logged in users and need a solution. Thanks
0
votes
1answer
11 views
Run two concurrent themes in one installation
I'm trying to add a 'blog' to my established and customized wordpress installation. Goal is to have a blog page that runs a child theme of TwentyTwenty, pulling any post of the category "blog-posts"
...
0
votes
1answer
17 views
Display Posts with template on a Page
OK, I'm sure some WP pros here will think this is a dumb question, and I'll probably get some flak, but I have actually read plenty of documentation, and I just don't think I'm even going in the right ...
0
votes
0answers
10 views
How to integrate jPanelMenu jQuery into WordPress
I would love to know how, if possible, to integrate a jQuery plugin into WordPress so it replaces the navigation.
Trying to integrate jPanelMenu in my WP site.
jPanelMenu is a jQuery plugin ...
1
vote
1answer
23 views
Registering AJAX callback function that is part of a class without instantiating the class in function.php
I'm not even sure if this is possible. But nevertheless I thought of asking. I'm in habit of wrapping/grouping AJAX calls for a particular need within a class. See below.
class my_class {
...
0
votes
1answer
12 views
Search that will look in custom field, post title and post content
I am looking for a way to perform a search, and while performing the search, it checks a custom field named keywords, the post title and the post content. If any of those fields have results like what ...
0
votes
1answer
24 views
How to add GET variable after script url?
So, I've registered and enqueued my script.
http://mysite.com/wp-content/plugins/my-plugin/script.js?ver=3.6
But how do I add a GET variable on the script src url?
...
-1
votes
1answer
18 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 nameMy site name
There is no space between the post name and the site name.
Here's the ...
0
votes
1answer
15 views
add youtube thumbnail in index and single.php add video
I crating custom wordpress themes for video related website, client can embed youtube video,
in index.php only show thumbnail image and title of video then when click thumbnail it goes to single.php ...
0
votes
1answer
14 views
Problem On Retrieving Post Meta Data on Custom Column [closed]
I am trying to add Custom post Metadata to a Custom Column. The meta-box has two text fields as Price and Company but When I publish a new post it just shows values from company in Price column and ...
0
votes
0answers
11 views
Return to Post Editing Screen after a bulk action from the Custom Meta Box
Trying to adapt Custom List Table Example plugin for my own needs.
Here the page field is responsible for specifying the plugin page to which the form containing List Table posts to:
<form ...
-1
votes
0answers
15 views
Parse error: syntax error, unexpected end of file [closed]
I use wp version 3.5.1 and just made a custom homepage template for my theme but I get this following error:
Parse error: syntax error, unexpected end of file in homepage.php
This is the file:
...
0
votes
0answers
16 views
How to retrieve depth of menu into template
In wp_nav_menu i use for the menu, with custom walker, i can get the $depth parameter in the start_el function
function start_el(&$output, $item, $depth, $args)
but, outside this ...
0
votes
1answer
12 views
How to search for post content and attached file names
I need to extend standard WP search functionality so that the search term is also applied to files attached to a post. In other words if user types in "annual report" then search results would include ...
0
votes
3answers
33 views
Add title to image post
I can't add the title on a featured image in the recent posts.
try this but only get the alt
<?php
$default_attr = array(
'src' => $src,
'class' => "attachment-$size",
...
0
votes
1answer
15 views
Pagination difficulty using custom query in genesis-based custom theme
I am creating a genesis child theme. I have a category called 'faculty' with about 60 posts in it. I am modifying the category template file so that it displays this category in a customized fashion.
...
0
votes
1answer
14 views
List post only under the category, exclude child category content
I wanted to list posts which are directly under a category and not inside the "sub category". In other words, I want to hide all the posts which are from "Sub Category" in the Parent category view.
...
0
votes
0answers
13 views
Whats the Limit to WooCommerce for adding variations to a product? [duplicate]
We have approximately 110 or so color variations for some of our products. we imported the variations with csv import suite. we have our server maxed out with the best memory and highest ini config.
...
-1
votes
1answer
10 views
How to reduce space between menu and page content? on Themify - funki theme [closed]
It would be great if someone could help me with this... I would like to reduce the space between my post (a picture) and the main menu, how do i customise the padding(not sure if it called padding)! ...
0
votes
1answer
17 views
Woocommerce: Changing the variations select default value?
At my site i want to change the default value of the selecter that appears, when different variations exists. If anyone can give me a clue of how and where this is done, it would be highly ...
1
vote
1answer
20 views
Should i delete the posts created by a plugin on uninstall?
I created a plugin which is based on a Custom Post Type.
When someone uninstalls this plugin, should i delete the posts under this post type or i should just leave them untouched?
1
vote
1answer
27 views
WP_query posts closest to todays date
I have written an wp query which I would like to order in a bit of a complicated way. Some posts have a meta value 'the_date' which is an end date for the post. I would like to order posts in date and ...
0
votes
0answers
16 views
Custom Form not generating URL
CReating a template to load content in an iframe on the same page - I have not even got as far as using ajax to avoid reloading the whole page as the form submit is not working. The submit button ...
0
votes
1answer
20 views
Modify custom field from front end
If I need to manage a custom field under wordpress, but not from the admin area. In other words, I need that users modify the content of post custom fields from front end. What is the way to do so?
...
-2
votes
0answers
6 views
Need Plugin for show product in listing form [closed]
Please any body can tell me, plugin name for show product name with it's category like in listing form.
-1
votes
0answers
11 views
Multiple calendars [closed]
I need a plugin (or another smart solution) to place a calendar into a worpress page.
I have several pages, each one dedicated to a specific person, and I want to show his own event schedule into the ...
0
votes
1answer
18 views
displaying a fall back query if there's nothing in the post-type category
I'm stuck trying to figure out the best way to manipulate my query so that if there's nothing in the category it will display the latest post-type.
Here is the query I've got that pulls in the posts ...
0
votes
0answers
34 views
My title is repating itself
I have been looking on some of the other questions in here, but they did not solve my problem. I got a Wordpress Multisite with Buddypress installed.
When I am logged in as the super admin, I can ...
