-1
votes
1answer
13 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
19 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
19 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:
As shown on the image above, it list all available media on ...
0
votes
1answer
11 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
12 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
14 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
20 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
19 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
24 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
21 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
12 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
11 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
25 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
13 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
17 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
21 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
29 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
1answer
20 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
22 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
20 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
35 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 ...
0
votes
0answers
18 views
Custom widget using get_categories select menu dropdown
I have created a custom widget that is supposed to display a select menu with all the categories the blog has. I have used get_categories to compile the list. This works fine and all categories appear ...
-1
votes
1answer
27 views
WooCommerce Cart not showing up [closed]
I have just installed the WooCommerce plugin on my existing Wordpress theme. I have integrated the plugin using the correct functions as found in the WooCommerce integration guide.
Now the shop ...
-1
votes
0answers
10 views
Image gallery carousel in post [closed]
I'm trying to get a image carousel in my post using the standard WP_gallery function.
So I was looking for a plugin that would do the work for me. But I could not get the plugin work with my custom ...
0
votes
0answers
11 views
Problem retrieving informations and displaying desired structure with custom post type and taxonomy
I have to create a website with a part concerning houses, grouped by type.
I thought of using custom post type "house" and custom taxonomy "house_type".
function custom_post_house() {
$labels = ...
0
votes
0answers
21 views
If Not Custom Format Types, Then What? [closed]
I'm designing a site that has a custom post type called "Releases." There are however multiple types of releases: there are App releases and Album releases. Obviously, each of these types of releases ...
0
votes
2answers
25 views
Get categories without post
I want to get categories that had NO post.
Below is sql for getting category with post..
SELECT terms.term_id,terms.name,COUNT(post.ID) FROM wp_posts as post
JOIN wp_term_relationships as rel ON ...
0
votes
1answer
14 views
Advanced custom fields and Slideshow gallery desn't work together?
Im using WordPress 3.5.1 and the twentyten theme.
I'm using advanced custom fields and want to ad a slideshow. I'm using the plugin Slideshow Gallery ( ...
-2
votes
1answer
24 views
How to add custom page using them in wordpress 3.5
I did this before in wordpress 3.4 but that code seems not working. I add this code inside wp-content/themes/ folder and I add new page from backend and try to select that. But it is not showing up, ...
4
votes
0answers
53 views
How to write testable classes in Wordpress
I'm currently doing some modifications on the Wordpress plugin that I created in order to make it testable. The problem is I don't know which methods am I suppose to write tests for. I have methods ...
1
vote
2answers
24 views
How to write: $wpdb->update having WHERE NOT value pair in the array
I need to update all meta keys in the postmeta table that have a value other than 0, to the value of 0.
I tried this.. no love (though I cannot figure out why....):
$status = $wpdb->query("UPDATE ...
0
votes
1answer
19 views
Move Sticky Nav Menu Below WordPress Tool bar when tool bar enabled
I've created a sticky menu but its hidden behind the WordPress Toolbar when logged in. How do i move it below the toolbar when enabled and logged in?
I was looking for a conditional tag but couldn't ...
0
votes
1answer
30 views
the_meta - no get_the_meta query?
I want to use the_meta as though it were get_the_meta. I want to do this because when i use the_meta in my functions.php file (I'm using a shortcode to enter data to pages), it posts the meta ...
