1
vote
2answers
28 views

Wordpress AJAX in header.php

I am currently studying Wordpress AJAX but keep getting error message (so the success function is not being executed) Currently I have changed the header.php (of twentythirteen theme) to include ...
0
votes
0answers
5 views

Media uploader was overridden and uploaded php file

Sorry if this post already exist, But I am new in this area :) So I just deployed some wordpress application for a year. And when I found out that my server is sending Junk mail to unknown users I ...
-2
votes
0answers
11 views

pass a custom variable through add to cart url? [on hold]

i have a paint shop and i need to pass a custom variable (paint color e.g. #ffffff) through url. i found below params but it needs that the color must be added to woocommerce attribute and variations ...
0
votes
0answers
18 views

Automatically add widgets to all pages

I have created a few pages and made them into menus. Also i'm using widgets on pages. Some of the widgets should be in all pages. In every page i need to add a short-code to that widget. Is there any ...
0
votes
0answers
16 views

Remove all nav menu classes except those which begin with certain letters

I'm currently using a function which strips out all the unwanted classes from my nav menus, leaving only the classes I want to keep (the ones listed in the array inside the function). It looks like ...
0
votes
0answers
18 views

Can't use get_option function in PHP file located inside plugin folder

I am currently developing a small plugin which queries an API for some XML data. The XML data is then used to display a page. I wanted to do most of the display and formatting related stuff in ...
-1
votes
0answers
10 views

Global JS variables

Ok, here's the basic idea. I want to have one javascript activate another. It seems like a fairly straightforward idea. I have my first js file set a variable to 1, and my second js file start with an ...
0
votes
0answers
16 views

How to echo Widget Title in Custom Frontend-Template Box

I've created a custom Widget with the help of following code: // Creating the widget class wpb_widget extends WP_Widget { function __construct() { parent::__construct( // Base ID of ...
0
votes
1answer
11 views

Force changing the Site Title and add link

I have the function below, but it's not actually changing the site title where it is called in my theme. function blog_filter($string, $show) { if ( $show == "name" ) { $string = ...
-1
votes
0answers
8 views

Linking categories to buddypress groups [on hold]

I want to create a link between categories and buddypress groups in order to accomplish the following tasks: 1). Creation of category terms triggers creation and population of a group by the same ...
0
votes
0answers
12 views

Limit categories visible

How could you limit the categories displayed for a certain role when adding a new post? I would like to only list a few categories, but would rather not prevent them from seeing these categories ...
0
votes
0answers
10 views

xypic on Wordpress

Is it possible to use xypic on Wordpress (for those who don't know what xypic is, it's a LaTex tool for drawing diagrams- see Wikipedia)? On a related note, is it possible to use the LaTeX package ...
-3
votes
2answers
36 views

Template library for WordPress [on hold]

I don't like to mix html/php/css code... but in some way WordPress forces me to do this bad thing. Is it possible, or is it a good idea to use something like Smarty or PHPTAL in WordPress ...
2
votes
1answer
9 views

Weird issue with database migration and SSL links

I want to move my database to my another mirror server (for testing & stuff). My original one is using SSL and I am forcing it to do so. When I migrate with DB Migrate plugin, the non-ssl server ...
0
votes
0answers
20 views

Wordpress CMS importing only for the frontpage?

I use a WordPress Masonry template, so what i tried to did was i copied all the code from my index.php and used the copied code as a FOOTER WIDGET (i have modified my functions.php file. I am allowed ...
0
votes
0answers
33 views

How to modify specific parts of a post content in WordPress

I'm trying to insert some custom code in each post in Wordpress, provided that it complies wit certain conditions. My problem is that the content needs to be added in an specific location that is not ...
0
votes
1answer
41 views

Random Custom Post Type

So i have a custom post type, and everything is correct when displaying. But i want that the custom post type appear random. I tried orderby => 'rand' but probably not in the right place and probably ...
-2
votes
0answers
12 views

Any slider with next and previous thumbnails on both sides (right and left)? [on hold]

Is there a WordPress slider that can display next and previous thumbnails on boths sides (right and left) like this?
0
votes
0answers
13 views

List of products (only view) [on hold]

I'm searching to show a list of products in the user front-end. In my back-end I created some fields with this content: '0' and I would like show to the users if the content is '1'. Exemple ...
1
vote
1answer
16 views

Obtaining user table for one site on multisite set up

I'm trying to select only users that are registered for a specific site on my multisite set up and see that the table for the users has collected everyone that is on the network. Is there away I can ...
2
votes
0answers
11 views

register_post_type - rewrite / feeds, what's it for?

The codex page for register_post_type seems to suggest that it should be possible to disable feed generation for custom post types: rewrite (boolean or array) (optional) Triggers the handling of ...
0
votes
1answer
24 views

how to avoid the character conversion of WordPress pages?

I am trying to use the WordPress pages but WordPress is overwriting certain characters. the '>' character is turned into '& gt;' why is WordPress changing these characters? is it possible to ...
0
votes
1answer
25 views

Allow the access over wp-login.php

I created a maintenace template, and redirected to the folder where it is located via the functions.php file inside the theme folder; this is the code: function maintenance_redirect(){ if( ...
-3
votes
0answers
10 views

repost old posts wordpress on facebook [on hold]

thnx for this forum it's so helpful ... anyway i have a problem with my website i wan to install a plug-in that allow me to repost randomized posts from my archive content included my old posts on ...
-3
votes
0answers
11 views

Can someone please tell me the ptc(pay to click) plugin? [on hold]

i wants to doing this kind of job.when i click on link given below in this site,it open in new tab and timer of 30 sec show after that credit of this add to the user account .can someone tell me about ...
0
votes
1answer
13 views

Custom form action hook

I am writting a simple newsletter subscriber plugin. I created a widget with form: echo '<form action="'.home_url().'" method="post" name="subscriber_form">'; echo '<p><input ...
-1
votes
0answers
24 views

Help analyzing var_dump [on hold]

I'm trying to debug a problem in a custom theme with the search.php page. I'm getting no results on what should be a good search. I added var_dump($wp_query->request,$wp_query->posts) to the top ...
-2
votes
1answer
20 views

Gravity forms with Authorize.net using BOTH recurring and one-time payment?

In my experience using Gravity Forms with Authorize.net I can only select a 'product and service' (aka one-time payment) OR 'recurring subscription'. And if its a recurring subscription you have to ...
0
votes
0answers
11 views

Custom Capability - show plugin menu to these users and admins only

I have created a plugin which has custom menu pages. The plugin creates two roles upon activation (let's say role 1 and role 2). role 1 is used for some coding and works fine, WordPress users are ...
0
votes
1answer
7 views

Display content based on a users login

I was wondering if this is possible. I created a client portal where they can see all of their work that was assigned to them (this is all being displayed on the frontend). Once they login, they are ...
3
votes
0answers
21 views

Where is the source of the media items filter

I couldn't find the source in the php files. What is generating the select drop-down for the attachment filters in the media library?
0
votes
0answers
13 views

Sub category text in the URL of wordpress site

I am launching a site about mobile and it is in wordpress. URL structure is as follow example.com/unlock/company/model example.com/how-to/company/model Unlock and how to are parent category and ...
3
votes
1answer
17 views

Translate third party plugin and save translation files in custom theme

I'm using Codestyling Localization and I want to translate a plugin and I want the translation files to be saved in the translation directory in the theme I'm building and not in the plugins ...
0
votes
1answer
11 views

How to redirect unattached image attachments

I'm currently redirecting all attachment images to their parent post with the following function: function attachment_redirect() { global $post; if ( is_attachment() && isset( ...
0
votes
0answers
27 views

Year based WP Query

I am am having a strange issue, trying to get year based posts in wp_query, when i do directly, 'year' => '2014' it works fine, but i have the year stored in a variable, $year, then i do 'year' => ...
0
votes
1answer
13 views

How do I link an image in my plugin so it displays on WordPress?

I'm creating a plugin for a college project. The plugin is very simple: it searches for name of the site address and upon finding it in a post, it outputs the site address with an image. However, I ...
0
votes
0answers
9 views

latest posts-widget displays all posts on archive page but works great anywhere else

I noticed the latest posts widget in my footer displaying all posts. Anywhere else on my page, it displays only the amount of posts it should. I am using a custom theme and this is my archive.php: ...
0
votes
1answer
16 views

Display cropped thumbnail not featured image

Currently i have these lines in functions.php and my home page respectively: add_theme_support( 'post-thumbnails' ); add_image_size( 'square', 252, 252, true ); // if ( has_post_thumbnail()): ...
0
votes
1answer
22 views

Wordpress wiget admin panel

I'm trying to achive this thing in wordpress wiget admin panel : http://jsfiddle.net/George02/mkuxcwf5/1/ The problem is that the jQuery seems to not work . public function form( $instance ) { ?> ...
-1
votes
1answer
19 views

Does WordPress create a new Linux user when creating a new WordPress blog?

I wonder if WordPress creates a new Linux user when creating a new WordPress blog? I am a NodeJS developer, but from what I know PHP scripts can also have access to entire file system. That's why I ...
0
votes
0answers
6 views

Getting data from database and use it to complete a form

I have the following files: Main plugin file: <?php /* Plugin Name: FixFormData Description: If you want to autocomplete a form with existing data, this plugin is for you. ...
0
votes
0answers
5 views

wp_nav_menu use #<slug> instead of permalinks

I need help modifying the wp_nav_menu arguments so that it can generate a menu which has # instead of permalinks.. I know I can add custom link menu items, but I want the menu to be more dynamic .. ...
0
votes
0answers
14 views

Breadcrumb not showing custom category post type

I have an issue when it come to displaying the custom post type category in my breadcrumb menu on the page it looks something like the following Home / / Post Title when it should be Home / Custom ...
0
votes
1answer
14 views

Can i use two different user tables for on WP install?

I like to make a difference between internal use of our WP website and extern by using an seperate users table and usermeta table, i tried this but it doesn't work ...
0
votes
1answer
26 views

wp_update_user isn't instantly?

I'm trying to update a user mail recieved by $_POST and use it instantly. It gets changed, however it outputs the old one. What is the way to do it? global $current_user; get_currentuserinfo(); if ...
-1
votes
0answers
8 views

Blogger Number of posts on main page doesnt work [on hold]

my blog http://thebeautyleague1.blogspot.com/ After i add some plug-in and html , the number of posts on main page only show 1 or 2 post even i already select 10 or other number , i can't copy the ...
-1
votes
0answers
10 views

Woocommerce adding custom attributes on cart page [on hold]

I'd like to show custom attributes of a product on my cart page, and I got some of them to show, but I also get errors if some product don't have that property (size for instance). SKU number is ...
0
votes
1answer
11 views

How to move multiple menu items at once?

Say I added 8 pages to a menu. Now I want to bring all the 8 items under another item. Dragging them one by one can take ages. How do i drag them all at once?
0
votes
1answer
22 views

WP_Query: Posts within category OR custom post type

I don't like to bother you guys, but this is already driving me nuts. I have a legacy post model within a specific category called 'listas-2' that used shortcodes to show some fancy things. Now I ...
-1
votes
0answers
24 views

Get an archive of a specific category

I have created a widget to get an archive with the post count. The issue is, I want to display the monthly archive of the specific category blog. Here is the code I've tried to display the ...

15 30 50 per page