Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (14)

0
votes
0answers
8 views

Create new table vs post_meta table database dilemma

I'm working on custom function that will store post data but I dont know which method to use. I have meta box in edit post area that will store diferent videos (embed code) for each post will have ...
-1
votes
0answers
5 views

Issue with Multiple themes

I have two themes. Theme A and Theme B. I am switching theme using Jonradio plugin based on URL. When I enable Theme A, Theme B's posttypeB is disabled. When I enable Theme B, theme A's footer is ...
0
votes
0answers
14 views

Modify default widgets

i want to add a class to the link inside the footer widgets. how can i do that ? I found a way to add a class to the widget it self but not to the link inside of it ! The concerned widget are ...
0
votes
0answers
14 views

Change post template the proper way

I'm trying to create an option on edit posts screen (backend) to select different post template based the selection and I need your opinions guys if that is the proper way. Here is what I've tried so ...
0
votes
0answers
7 views

Backend as to select combo

I wondered how I could do one thing in wp. I need to show X combo select a page, depending on the option chosen in the display select one thing or another in the next select something else ... etc. ...
0
votes
0answers
4 views

How to add images to widget instance from backend

I am working on a project which has content(no posts) and I want to give complete control to user to change and edit content from admin panel. I have created widget added fields to it but I don't know ...
0
votes
2answers
24 views

How to add users roles dropdown in registration in wordpress

How to add users roles dropdown in registration in wordpress function myplugin_register_form() { global $wp_roles; echo '<select name="role">'; foreach ( $wp_roles->roles as ...
0
votes
0answers
9 views

Add Custom Fields to Tags

I have been searching how to add custom fields to taxonomies, but all what I found (that works) is how to add custom fields to category (below is my code), but I dont know how to edit it to add custom ...
0
votes
0answers
15 views

Tag template pagination

I need to ask about how can i add pagination to my post tag template pages this is the code and link of the page http://ca.unitysofts.com/tag/fortnight-focus/ <?php get_header(); ...
1
vote
1answer
28 views

Custom Widget Creating PHP Exception When Placed In Its Own PHP File

I have a custom plugin created and i have created a widget. At the moment this code is included in the base php file for the plugin and its working fine. I want to move the widget and all future ones ...
0
votes
0answers
9 views

customizing wordpress theme slider with switch statement

i am working on an assignment for wordpress , i need help in following matter, im using wordpress today news theme, the link of my current work ca.unitysofts.com in upper three slider , while ...
0
votes
0answers
8 views

How To Add Custom Meta Field Select/Radio Box to Post List Bulk Edit Mode

How can you add a radio fieldset to a custom post-types post list bulk edit screen for a custom meta field? Please provide in depth code example and explanation and thanks in advance. The ...
0
votes
0answers
14 views

let users add multiple divs in static page

I'm pretty new to wordpress and I'm using twentytwelve as a theme. I've created a very simple custom template for some pages: <?php /* Template Name: New Test page*/ ?> <?php get_header(); ...
0
votes
1answer
13 views

How Should Custom Functions Be Called For Single Posts?

I have been trying to find the answer to this. I want to use the best method performance wise, but also want to make this solution portable as possible. I have created a plugin that adds multiple ...
0
votes
0answers
9 views

How to structure my website? - Multi level [on hold]

I'm building a travel website and I'm not sure what would be the best way to structure my content. So, I would like to have a first page with a list of countries, then on a second page a list of ...
-1
votes
0answers
13 views

Portal build using wordpress. [on hold]

I am planning build a website where merchants can list the products they are having. To achieve that one, We should do the following things 1. register/login. 2. Secured Product upload form(prevent ...
0
votes
0answers
33 views

Hide the Wordpress CMS and Integration Plugins from Source [duplicate]

I looked alot on the internet and still not figure out the exact manager of thing I want. First of all sorry if i am going wrong on question but here it is: Websites like www.bewakoof.com and ...
0
votes
1answer
30 views

Make tag archive display post are ordered by post format

I would like to set up an archive page for tags where posts are displayed separated depending on post format, first post-format-aside then an archive with all posts except the posts already displayed, ...
0
votes
0answers
33 views

Modified wp.media.view.Settings.Gallery in Backbone JS, but editing doesn't work

I've added to the normal WordPress gallery popup (when clicking "Add Media" in the WordPress editor), in order to allow my custom gallery type to be selected (which interacts with / uses the main ...
0
votes
0answers
12 views

WP Query for newest post of each taxonomie of a custom post type

I'm trying and googleing since 2 days, but cant figure out how I can display my 8 needed posts. Details about my structure: I'v created an custom post type "projects" where all the posts about ...
0
votes
0answers
3 views

Can i give frontend access to registered users [closed]

Iam a website Developer. I want to design my as visitors when they registered in my website in particular page, can i give particular page access to frontend registers. And what plugins i have to add ...
0
votes
0answers
24 views

How to determine if the use of a commercial theme will speed up development? [on hold]

I hope this question has its place here. When asked to build a site from mockups I often wonder if using an existing commercial theme will actually save me time compared to using some "boilerplate", ...
0
votes
0answers
16 views

Show content if deadline is passed

I am using Date Custom Field in a scholarships information website and using this code to get scholarship deadline. I just want to show two words "Applications closed" if the application date has been ...
0
votes
1answer
15 views

Custom search results

I have a Wordpress custom search form which is used to search for floors into various buildings. For example, when a user searches for a floor between 1000 and 1500 sq ft, he will get a list of all ...
0
votes
2answers
26 views

Static Front Page settings - distinguish between Front page and Post page

Let's say we go for Admin - Appreance - Customize - Static Front Page There we can see the Front page and Post page options when we select A static page These two options are not there if we pick up ...
0
votes
0answers
10 views

Get adjacent post data, ordering by custom field values (by Wp-query?)

I want to build a custom version of the adjacent-function of wordpress post. I have two custom field values for each post, my layout is the following: metafield1 value 1 & metafield2 value 1 | ...
0
votes
2answers
28 views

Installing new theme on running site

I have a running Wordpress site (3.9.6). Now a new theme should be used and for this theme also some customizations have to be made (content, some WP files like page.php and so on). Additionally, I ...
0
votes
1answer
19 views

Inserting two categories

I am trying to define two categories together in a post. please tell me where i am doing wrong. 'post_author' => $user_id, 'post_status' => 'pending', ...
0
votes
1answer
24 views

How to Register and Display Widget for Custom taxonomy

I have registered a Custom Taxonomy Named as Album, Now i want to register and display a custom widget like category to display recent 'x' albums with thumbnail on my sidebar. Below is a piece of ...
0
votes
1answer
49 views

Wordpress tag or archive php file customization

I am not that pro with php but i have good concept and can find my way in cleverly, this forum have always put me ahead of the game due to people like you who share as the care, I have a site that ...
2
votes
0answers
47 views

CSS rules that the theme gets from a function

I am trying to change the color of entry-footer in my Twenty Fifteen theme. My modifications in the child theme is overridden because when the website is rendered in a browser, WordPress outputs ...
1
vote
0answers
18 views

two factor authentication

i am working on a two factor authentication plugin using a third party API. API and WordPress plugin setting page are ready. now i need break default wp login process in two parts like this: This is ...
0
votes
2answers
105 views

Contact Form 7 - Form name blank [closed]

I'm using WordPress 4.2.2 and the "Contact Form 7" plugin version 4.2.1. But when my contact form shortcode outputs the html code the name="" attribute is blank and W3C html validator is giving me ...
0
votes
0answers
44 views

echo value from 'select' field type into page template using cmb2?

I'm using CMB2 plugin to add metaboxes into a custom post type. I'm adding the additional metaboxes via functions.php onto child theme. It may worth to mention that parent theme/custom post already ...
0
votes
0answers
13 views

Products with Batch (Lot) Numbers

We are developing a site to sell products which are manufactured in batches (lots) and which have expiry dates. Is there a good (best) way to handle such products so that the batch number(s) and ...
-1
votes
0answers
12 views

Create table of content page for all posts/categories?

Not for contents of one page, but general ToC, like that: 1. Category Post 1 Post 2 2. Category Post Post
0
votes
0answers
14 views

Creating plugin - beginner level

I'm trying to create my first plugin and i don't know many things. I created an admin menu with 3 submenus. In first submenu i have a form like <form method="get" enctype="multipart/form-data" ...
0
votes
0answers
32 views

Multiple Loop resulting in duplicate Posts

This code results in a display of a category title and one post below, it loops through every category in a custom taxonomy, works but the posts are duplicated on page/2/ if I type in that URL, I ...
0
votes
0answers
17 views

Auto overwrite: Plugin edits not sticking

I am trying to edit a plugin called "Calls to Action" to add personal functionality and remove all the extra stuff I don't need; and WordPress or the plugin keeps overwriting my edits. I have even ...
0
votes
0answers
17 views

Custom Field value to

I don't know how I could solve this problem. I'm importing a csv file and this contains also an imglink (external) and it will creat a post draft for me. What I want to achieve is that the imagelink ...
0
votes
1answer
20 views

Different post into a single page

i am having a little trouble here. Well what i am exactly trying to do is post posts into different divs in my wordpress template in a single page. How am it to achieve different posts in different ...
0
votes
1answer
37 views

How do I change text of a product template in a WooCommerce theme? [closed]

I want to change 'Out of stock' to 'Sold' on my product pages when a product is gone. What template should I look at to change this?
0
votes
1answer
29 views

two search forms on the same page

I have a mobile and a large screen search field. I am trying to load these both on the same page. I am using JointsWP Starter theme. Here are the functions: function joints_wpsearch($form) { $form ...
0
votes
0answers
12 views

is_customize_preview() like function to check if Customizer “Live Preview” in JavaScript

Is there a predefined JavaScript function that can be use to check whether the site is being previewed in the Customizer which returns true if it is or false if it's not, just like what ...
0
votes
0answers
19 views

Pagination not working for custom category template and custom permalinks

I am using following code in category-20.php, for the pagination through ajax, which is working fine for the defaults permalinks. But when i change the permalinks to custom, then pagination doesn't ...
-1
votes
0answers
15 views

Customization in Wordpress Plugin - Search result page

I am using a WordPress plugin for travel search by Travel Grove. This is the url : http://www.designgridstudios.com/demo3/ . After filling the search form it points to Merchant site and compare the ...
0
votes
3answers
42 views

Featured Image not showing in admin

Currently im making new theme and had the idea of adding featured image in the admin side of wordpress, unfortunately its not working this is what i have tried I have added this code in functions.php ...
0
votes
0answers
10 views

Add field to the search box ¡

Hi I have a custom post type, and I want to add a field to the search form. For example a simple dropdown. I don't find any actions or filters. Anyone knows how can I add this field? Thanks a lot
1
vote
1answer
14 views

Programmatically (PHP) get the nr. of items in the primary navigation menu

I need to get the nr. of items in the primary navigation menu. I need this to determine the width in percentage of each list item. So I also need to change/add to the css width attribute of the list ...
-1
votes
0answers
13 views

I want to create 'my-page' or 'user-page' and Mixing the pages

help me! plz In wordpress I wnat that would you like to show me sample code that create 'my-page'(./member/username) without the use of plugin. and that come out on 'my-page'(./member/username) ...