0
votes
0answers
3 views

Exclude Tags by Array

and thanks for any help!. I'm trying to display all of the tags except ones that start with a token ("Author: "). I have figured out how to exclude a single tag (just typed it into the exclude ...
0
votes
0answers
5 views

Usage of god-like classes in plugin development

In the following example class definition, only the eat(), sleep() and play() methods are relevant to the class Dog. Whilst relevant to the plugin as a whole, i18n() and enqueue_scripts() are not ...
1
vote
1answer
15 views

Why the WP Core team does not allow filter_* functions?

This question is somehow related to this other question. Provided that is seems we have a solution for the magic quotes issues, why the WP Core team does not allow them? This is unclear to me and I ...
0
votes
0answers
3 views

Can we have an 'Update metadata' button in Image Gallery for all image instances?

{Note: This question is a followup of this one.} It is possible to implement the following: In WP go to Media | Library and select an image. The 'Attachment Details' window appear. We have there ...
1
vote
0answers
5 views

Convert Wordpress Woocomerce product to Wordpress post

This question look like terrible :). We have a shop with more than 10.000 product, but at this time we dont have bussiness and we want to convert woocomerce product into new database worpdress post ...
1
vote
0answers
18 views

Custom Taxonomy

I am trying to create a food menu. I am trying to use the custom taxonomies to do this. However, I am struggling to work out the best way to go about this. The idea is to have three levels Menu ...
0
votes
0answers
6 views

Woo commerce Add Full Country Name to Usermeta

Have been trying to work this one out all day, hopefully its something in the settings. My problem is that the user data for country is being stored as the country code rather than the full name, ...
0
votes
0answers
7 views

Duplicate WordPress site to subdirectory but use same db?

I have tried to just copy the whole root folder into a subdirectory. I understand the .htaccess file has to be changed. But can't get it to work right. Is it something more than changing the htaccess ...
0
votes
0answers
11 views

How to get Last post Id of custom post type in wordpress

I want to get last post id of a custom post type in wordpress. For this I tried this code- args = array( 'post_type' =>'soto_property', 'posts_per_page' => 1, ...
0
votes
0answers
9 views

Theme code to display all sticky posts

I found this code to show one sticky post at the side of the page: <?php $sticky = get_option( 'sticky_posts' ); $the_query = new WP_Query( 'p=' . $sticky[0] ); while ...
0
votes
0answers
4 views

Create a google friendly header with text and logo

I want to customize my current header in wordpress and include a logo in it. The following solution works: <header class="site-header"> <div class="wrap"> <a ...
0
votes
0answers
14 views

Use more than one post meta inside the loop

I have custom meta like this: I want to select the post with both of these conditions are true for : 1- end_date = "some date" 2- st_date = "some date" Also I need it to select by title ...
0
votes
0answers
5 views

Post your Event button does not work on Time.ly calendar plugin

I am running WordPress 3.9.3 with GoodInc theme. I am using All-in-One Event Calendar by Time.ly Version 2.2.0 plug-in and All-in-One Event Calendar Extended Views by Time.ly Version 1.1.3 The theme ...
0
votes
0answers
9 views

Restrict access to the site with $ _SESSION

I am creating a simple login system that redirects a client for your area . There will contain links to their projects , in other words , clicking , it will be redirected to your website. Example: I ...
0
votes
1answer
4 views

Creates only one table and not the other

I have this function to create two tables when I activate the plugin. Only the wp_wpt_stats table are being created and not the wp_wpt_list. I know the dbdelta is picky, but I can't see what I'm doing ...
0
votes
0answers
12 views

wp_editor Too Tall when Content is Loaded

I am using the code below to load a custom editor for my application: <?php wp_editor(stripslashes($post->post_content),"project_description",array('quicktags'=>false, ...
0
votes
0answers
9 views

How do I create a new WooCommerce attribute using PHP? [on hold]

I know that WooCommerce is using taxonomies for their attributes, and I've seen plenty code explaining how to set attributes PER POST - but how do I create an attribute in the first place? The PHP ...
0
votes
0answers
2 views

Check if textarea has quicktags initialized already

I am using wp_editor() to output an editor field. By setting the 'wp_skip_init' to true, I am preventing TinyMCE from getting initialized automatically. Here is the code that renders the editor field: ...
0
votes
0answers
6 views

Ordering in custom wordpress query

I have a custom wp query <?php $aId = get_the_ID(); $aList = new WP_Query(array( 'post_type' => 'porti', 'posts_per_page' => -1, 'meta_key' => 'aName', 'meta_value' => $aId, ...
0
votes
1answer
17 views

Problem in shortcode outputting content

I`m trying to make a shortcode that output the a div containing content from Custom Post type . I'm able to output the content but content does not output within div . the shortcode output the div and ...
0
votes
1answer
7 views

group posts by month/date ignore years

Need group posts from custom post type by post date. <p>Example:</p> <p>Jan (all posts posted in januar for all years 2010,2011 ... 2015)</p> <p>1 (all posts posted in 1 ...
0
votes
0answers
11 views

Displaying category images as background image

On some of my category pages I use the following code to display a background image. <?php global $post; ?> <?php $src = wp_get_attachment_image_src( ...
0
votes
0answers
8 views

Set Display Name to first and last name (phpmyadmin SQL Query)

I'm trying to change all the users Display Names to be their first and last name. I have looked into a number of plugins and wrote my own PHP to try and accomplish this however the site has over ...
-2
votes
0answers
8 views

How to get value of selected checkbox using jquery? [on hold]

I want to find the value of selected checkbox in jquery , any one can answer me?
-2
votes
0answers
12 views

Manual PHP code is showing only when WP logged in

Guys Please help me to solve a issue, I add echo 'test'; to footer. When I am logged in it showing me the output but when I open this link on other browser it doesn't shows the output. I am not ...
0
votes
0answers
9 views

Duplicate Custom Taxonomies

So, I have 2 custom post types and each having custom taxonomies with same values. Ex: 2 custom post types are "Hotel" and "Tour". For each post types there will be custom taxonomies "Hotel Location" ...
0
votes
0answers
15 views

How to retrieve a value from an input field in a media view template

I've created a media view template with two input fields (width and height) and I was wondering how to retrieve the values entered in them in a media controller o view. PHP: function ...
-2
votes
0answers
13 views

Product title woocommerce in contact form

I have the woocommerce plugin and the contact form 7 plugin too. On the product detail page, in the tabs at the bottom I have a custom tab called enquire. I am embedding one of the forms I created. ...
0
votes
1answer
22 views

Query Posts that have Custom Taxonomy

I'm having trouble querying posts that have multiple tags from a custom taxonomy. For example, if I have a post called "Strawberry Splice," it has the Meal Types (custom taxonomy) "Gluten Free" and ...
0
votes
1answer
16 views

Comments on future posts

I have enabled future (scheduled) posts to display as single post so on that page comments are enabled but there is a problem when i try to post comment. I get a blank screen without any warning or ...
-1
votes
0answers
7 views

How to create the below element using css?

!] [There's no need to create the inner image or exactly match the colors/sizes, but general shape should be there, with the text boxes. How to create this element?
-2
votes
0answers
11 views

How can I add youtube video url parameters in template

I am working on wp post using custom field. I have added youtube url in custom field. Now, I want to pass parameters(like control,autoplay,suggestion video=false etc) in my template to get the youtube ...
0
votes
0answers
8 views

meta_query argument not working

I am trying to use WP_Query to search through posts BUT I want to also search by post_title as well, which is why I tried using meta_query in my arguments array. I want to actually do more than just ...
2
votes
1answer
23 views

Include Sticky Post in Page Posts Count?

I would like 7 posts showing on my homepage. I would like to be able to manually choose those posts by stickying them. Currently, I have my posts per page set to '7' in WP Admin. However, this does ...
0
votes
1answer
8 views

Wordpress admin option, I can't use jquery ajax to access my content from another file

Am trying to access contents using jquery ajax in wordpress admin panel but I can't, If I try to inspect element the error which am getting is file not found ...
0
votes
0answers
8 views

Use Own Link as Plugin Support Page

How can you use your own link (e.g. Github Repo Issues) for the View Support Forum button in your WordPress plugin page? Take a look at BuddyPress for example ...
0
votes
3answers
12 views

How to make author box like this & add after every post?

I want to make an author box like this : <table style="border: solid 1px #ffffff;width:100%;"> <tbody> <tr> <td> <h3><b><span ...
0
votes
1answer
8 views

Team Collaboration in WordPress

I'm trying to create a team collaboration tool on a WordPress site, basically like Slack (http://slack.com). I'm looking for somebody to be able to post a question/article/link/photo/document, then ...
0
votes
1answer
14 views

Add specific content after specific text in every post

Suppose I want to add some imagess in my all posts Eg. I want add this : <img src="ad.png" > after this text That's all every post & that image should be different in different ...
0
votes
0answers
14 views

How to get the id of each form?

I want to get the id of each form, but displayed only the id of the first form. add_shortcode( 'form','form_shortcode' ); global $form; function form_shortcode($atts) { global $form; ...
0
votes
0answers
7 views

Video and image in slider

It is possible to put a video and image in one slider? Like, in a one slider, contains video and image, left side, is video while in the right side is image. If yes, there's a way to do that? Or ...
-1
votes
0answers
15 views

Dynamically pre-populate Gravity Forms field with custom fields from custom post types

Tried to be as specific as possible in the title. Essentially I have a real estate site that I am working on that has property listings. The property listing is a custom post type and there are ...
0
votes
1answer
9 views

Get images by category

My current way of getting the images for sliders is by using the following code that works perfectly: $args = array( 'post_type' => 'attachment', 'sort_order' => 'ASC', ...
0
votes
1answer
11 views

Admin Post List Only Show One Category

I want a user to only be able to view a single category type when clicking "posts" in admin. I've tried messing with list_terms_exclusions, but that only seems to be effecting the category management ...
0
votes
0answers
11 views

problem with my slide show and visite site

please i need help with my website, i was updating the photos in the slide show and when i decided that i don't like the photo i pressed the edit page and deleted that what ever it was the connection ...
0
votes
0answers
13 views

Page getting hammered by trackbacks

I have one page on my site that seems to be getting a high number of trackbacks. I have trackbacks disabled in Settings and I also have comments disabled. Any thoughts or suggestions on how I can stop ...
0
votes
1answer
18 views

How do I display a date correctly that is stored in the database as a backwards 8 digit number from Advanced Custom Fields?

I am modifying someone's Wordpress theme and they have a section for upcoming tour dates. The page for inputting was made with Advanced Custom fields plugin and uses a date picker widget that stores ...
0
votes
0answers
12 views

Internal Header Images [on hold]

I am trying to do the following, I'm currently using the plugin Widget Context, I want to have some text and title over the image, but this plugin is limited to only show title no text, is there a ...
0
votes
0answers
23 views

Robots.txt with WordPress and Joomla in same server

I have this configuration in my server root (hosted): root -> a Wordpress blog DirectoryJ -> a Joomla site DirectoryWP -> Another Wordpress blog I don't know how to handle the robots.txt. Joomla ...
0
votes
0answers
15 views

Implementing Isomorphic JavaScript (React JS) in Wordpress?

I'm about to start with a new project and would like to incorporate React as I want to learn more about it and this specific project would be perfect to get started as it's not that time sensitive and ...

15 30 50 per page