0
votes
0answers
3 views

How to add sidebar layout options in meta boxes under posts

I am working on a WordPress theme and i want to implement this option in my theme which allow users to choose weather they want sidebar on right side of the post, left side or no sidebar at all and it ...
0
votes
0answers
5 views

Check role in database

I'm developing a script outside of Wordpress that needs to work with the Wordpress database and our website. I just need to check if the role of a user is our custom role (already defined) of ...
0
votes
1answer
16 views

I want my wordpress loop to only display posts of the standard format

I currently have the following php code for the content loop on my homepage. <?php if ( have_posts() ) : // Start the Loop. while ( have_posts() ) : the_post(); ...
0
votes
0answers
6 views

Random post slugs cut off from original and underscores not converted to hyphens

I am having a serious problem right now. Our business website just crashed and almost every single page has stopped working. I am in the process of restoring the backup right now but would like any ...
0
votes
0answers
4 views

Send an extra parameter with xml-rpc login?

New to xml-rpc with wordpress. I am trying to add a 3rd login parameter for security reasons to the xml-rpc connection. As it stands the default login only accepts a username and password. On our ...
0
votes
0answers
9 views

PHP Notice: Undefined offset: 0 [migrated]

I receive the following php notice PHP Notice: Undefined offset: 0 Here is a sample of what causes the error. $file = $_SERVER['DOCUMENT_ROOT']."/savedposts/edited".$post_id.".txt"; ...
0
votes
0answers
11 views

Adding instant search to wordpress page

I'm new to the site and to web development in general. I have a domain name, a hosting site, and wordpress installed. That took me most of a day. Now I'm trying to add this functionality to my site ...
0
votes
0answers
8 views

Paginate Term Archive?

I have a custom template displaying an "archive" of terms. When a term is clicked it takes the user to a list of all the posts assigned that term. I am not using a traditional loop to achieve my term ...
0
votes
0answers
5 views

Separate Editing from Publishing for pages

My site is made of "pages". Those page are static, but my team is going to modificated those pages frequently. I would like to have several authors and one editor. The authors edit content, but ...
0
votes
0answers
8 views

Page to show custom posts and one category

I want to show in a page all my custom posts and category ID=15. I manage to call my custom posts: $type = 'my_custom_posts'; $args=array( 'post_type' => $type, 'post_status' => ...
0
votes
0answers
4 views

WP_list_table unhideable columns

So I have managed to setup a custom WP_list_table in my theme as per the tutorial here. I really love the fact that you can make the columns hide-able, and I have manage to implement that. What I ...
0
votes
0answers
8 views

Get taxonomy on publish

I'm not seeing exactly what I'm looking for, so forgive the potential repetitive question. On publish_post, I'd like to check the current post's taxonomies and do something with them. However, the ...
0
votes
0answers
11 views

Using Comic Easel plugin the comment button doesn't work [on hold]

I'm a wordpress newbie and I'm trying to use the comic-easel plugin in my blog. I thought that I installed it correctly, because I posted some images without any problem and the next and previous ...
0
votes
0answers
6 views

disable email notification for specific page

I would like to make the page with id = 2 that do not get notification mail that the message was written because I have on this page of me made to automatically approve comments. so i dont need ...
0
votes
1answer
13 views

Add code to header based on category for specific posts?

Hello all! I'm trying to add as you'll see in the image attached a small huffington post icon and accompanying text to some posts on my blog. I'd like to set up a category "Huffington Post" and when ...
0
votes
0answers
14 views

strip_tag not working in header.php

Used code I found on css tricks to remove the li tags from wp_nav_menu. $menu_parameters = array( 'container' => false, 'echo' => false, 'items_wrap' => '%3$s', 'depth' ...
0
votes
0answers
10 views

wordpress php files including all plugin and theme files have unknown on top [on hold]

Unknown code found in all php files of wordpress, how I can remove this. All files have unknown code like this: <?php $vzkcgmisom = '%x7825r%x5c%x **[hacking code removed]** qgswqsey-1; ?>
0
votes
0answers
6 views

How can i remove Time zone abbreviation in Events Manager [on hold]

When i create events using events manager it displays in CST . I am not able to find from where that timezone is retrieved. I cannot see that in EM settings. I found date format , but timezone is not ...
0
votes
0answers
4 views

Pagination numbers not showing inside post?

Hello I am using themeforest Goodnews theme. I want to use pagination inside a single post, where i am using page break with <!--nextpage--> but when I publish it doesn't shows ...
0
votes
0answers
11 views

Removing WP-Login inputs

I'm building a passive captcha system for my WP sites, and I'm attempting to remove the inputs (username, password, submit) from my standard WP-Login page via php hooks; they'll be replaced via jQuery ...
0
votes
2answers
19 views

deregister scripts on certain page

i need to exclude certain scripts from running on a certain page. i have tried this code but it's not working - when i inspect the page the scripts are still being loaded into the footer of my page. ...
0
votes
0answers
13 views

wp_trim_words is trimming by character instead of by words

I'm using Wordpress 3.9.2, and having trouble with the wp_trim_words function. It seems to be cutting the string down to X characters instead of X words. Example Put the following in a template ...
0
votes
0answers
2 views

Add page content relative to its Navigation sub-menu list item

I'll try to explain myself the best I can. I have a products menu with a sub-menu that shows a list with categories of products (full width sub-menu). On the right of that menu i have a empty div. I ...
0
votes
1answer
11 views

create custom links to featured image of the post

I am using u-design theme. I am finding difficult to add custom link (url) to the featured image in the post. I am looking for a script or function to add custom links(url) (internal or external) to ...
-1
votes
0answers
11 views

Borders and Slider

Hi I am completely new to wordpress and i need help creating border lines above and below the header like this: http://www.simpsonmagazine.cc/ I also want to make the slider size larger .. this is ...
-1
votes
0answers
5 views

Looking for Plug In to Style Back End Categories / Taxonomies

I have a bunch of parent and child taxonomies in my site and would like a nice plug in - if one exists - to help manage them. Some features I would like are to apply a color on my parent categories in ...
0
votes
1answer
11 views

Making CURDATE() recognize current_time()

I'm trying to make this query pull a list of users 30 days from today that have a birthday. This query works as per below in WordPress, but excludes those who have birthdays as today. I believe the ...
0
votes
0answers
12 views

One Click demo content installation feature in WordPress theme options panel

I've been seeing a feature of one click demo content installation option on some powerful WordPress themes now a days. Mostly on Themeforest themes. I'd like to know if anyone have any idea about the ...
0
votes
0answers
11 views

Category Link to Post

I have a website with categories X, Y, Z...with the Search Everything plugin I can search based on the category name to return all the posts within a given category. I have the search results posts ...
0
votes
0answers
7 views

Maintenance Redirect via .htaccess [on hold]

I would do a maintenance redirect, which redirects all pages to the maintenance template folder, the template is located on /mainteinance/, and when I try to do the redirect appears to me the full ...
0
votes
0answers
11 views

Combined Category+Tag Archive Page

I am currently developing a music blog. I am using Wordpress categories for the artists and the Wordpress tags for featured artists. I want to combine the archive pages for artists and features into ...
0
votes
0answers
26 views

Plugin dont Work Inside AJAX Call

I'm doing a Progress Bar Shopping Experience (in my WooCommerce site). First the user select the plan (demo, home, business, premium), then select the products he wants, and finally I've to show them ...
0
votes
0answers
9 views

Can't update multiple rows with $wpdb query

it seems that I cannot update multiple rows to change the post_type of posts having a specific tag. I follow different method, even if it seems the good one is this one : global $wpdb; ...
0
votes
0answers
9 views

Sorting a list of users by a user taxonomy with Pods

I’m trying to use user taxonomies to sort my userbase into categories and then show a list of taxonomies in the sidebar that on click expands to show the users within each taxonomy. I’m struggling a ...
0
votes
0answers
12 views

save_post action not firing due to old page_template meta data

I have some functionality hooked to the save_post action that wasn't working for a user on a particular WordPress Page. After some digging I found that wp_insert_post() was returning before getting ...
0
votes
0answers
14 views

How to increase menu size limit? [duplicate]

After searching for answers, I am still stumped. I am not very savvy but tried creating a php.ini file, editing .htaccess file, nothing lets me go above the 85 menu item mark. It seems to be a ...
0
votes
1answer
17 views

Excerpt filter is adding '</p>' in incorrect place

I'm using the following code from this question in order to limit the excerpt length to 2 paragraphs. if ( ! function_exists( 'wpse0001_custom_wp_trim_excerpt' ) ) : function ...
0
votes
0answers
11 views

Superfish Menu is incompatible with the latest jQuery version (1.11.0)

I tried to convert an HTML template into a WordPress theme, and it seems like the Superfish Menu v1.7.4 is not compatible with the WordPress' default jQuery version (which is v1.11.0). I've tried to ...
0
votes
0answers
6 views

Automaticaly bulk update all posts of an certain post type

How can I save all records of a particular post type in bulk with php code. I would like to save daily (automated) all records (without changes). With updating a post a particular function is already ...
-2
votes
0answers
6 views

How to Arrange Page Contents in the Middle Height [on hold]

Using Avada theme, there is a page template with the name of Blank Page. One of the features this page template provides is automatically arranging page contents in the middle height of the page ...
0
votes
1answer
9 views

Hide hour from displaying when using user_registered

$user->user_registered displays "Registered since: 2014-08-18 07:25:22" I just want to show the date, not the hour. How can I hide the hour and just show the date? thank you
0
votes
0answers
10 views

Plugin/Theme template to make developing easier [on hold]

I think everyone use skeleton to start developing a plugin/theme. It reduces the development time drastically. I will love to see some skeleton from experienced wordpress theme/plugin developer. I ...
0
votes
0answers
10 views

Database solutions for a commenting plugin?

(I'm new to this and am aware that my questions are vague and kind of suck, please bear with me.) My plugin, a commenting platform, is in the directory. Currently, it doesn't have it's own database. ...
0
votes
1answer
5 views

CPT, Custom User Role and problem with user manager

i've create a custom user role using this code: /* aggiungi ruolo */ add_role('brokers', 'Brokers', array( 'read' => true, // True allows that capability 'edit_pages' => true, ...
0
votes
0answers
11 views

Close secoundary database connection

I have two website. first one is in wordpress and second one is in corephp. My Question is that i am connection database by $wpdb. /* Core php database */ $newwpdb = new wpdb( 'username', ...
0
votes
0answers
8 views

How can I stop wordpress translating my page template names

I am using wordpress multisite to manage different language versions of my site. This is the code I am using to achieve this /** * Language Support */ add_filter( 'locale', 'my_theme_localized' ); ...
-1
votes
1answer
20 views

What would be the best way to build an Ad rotator? [on hold]

What would be the best way to build an Ad rotator similar to those we usually see around from http://fusionads.net for example. WordPress has a plugin/widget for adding ads: ...
0
votes
0answers
19 views

Strip 'p' tags in wp_trim_excerpt()

When I have a lot of paragraphs in a post and trying to display an excerpt in blockquote, all <p> tags are stripped, and whole 55 words are in one <p> tag. <blockquote cite="URL"> ...
-1
votes
0answers
15 views

Show/Hide meta box when category/taxnomy is selected [on hold]

I'm looking for function to secure my meta boxes from showing when the only the desired category/taxonomy is selected. In this case, I have a custom post type with taxonomy checkboxes. I want specific ...
0
votes
1answer
9 views

Using conditional staements to load plugins

I'm having some conflicts I think with a couple of plugins I have written that use ajax. As they load their resources on every page rather then just when needed I think it's causing problems. What's ...

15 30 50 per page