Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (17)

0
votes
0answers
26 views

Bitnami WordPress site re-setup

So I have successfully installed Bitnami on my Linux. Purchased a theme from themeforest created a couple of pages using visual composer and some other plugins, customized some theme options, created ...
0
votes
0answers
17 views

Custom Rewrite Rules Not working

i creat a plugin same it but when i go to http://mysite/apk/(post id) it not working :( hope some one can help me :( // Custom Rewrite Rules add_filter( 'rewrite_rules_array','my_insert_rewrite_rules'...
0
votes
0answers
25 views

how to get 1 post from current category's sub categories

I want to show a list of current category's subcategories with their latest past in subcategories I have categories like this >> Electronics >> Mobile >> Android ...
0
votes
2answers
128 views

Category-slug.php not being used

I have this category-newbie.php template in my theme. And I have the category "newbie" in categories, but it is not using newbie it is using the category.php EDIT:
0
votes
4answers
54 views

custom loop issue

I am trying to get a custom loop to work and I can not see why it is failing. $args = array( 'category_name' => 'audio', 'posts_per_page' => 6 ); $sound = new WP_Query( $args ); ...
0
votes
0answers
48 views

Rename field labels for post in Admin Panel

My client wants to be able to upload a product datasheet file (PDF) for each product (we are using woocommerce). As the 'product Short Description' field allows media to be uploaded and to link to ...
0
votes
1answer
94 views

How to show content of specific item on the same page?

I was wondering how I can achieve the following. I have created an overview page of all news articles. At the top of the page there is a big background image and a white block with content. What I ...
0
votes
0answers
60 views

class for the current page in wp_link_pages with next previous and number links

i want to wrap the current page number in tag, currently everything is working fine my output display like this ( prev 1 2 3 4 next ), now i need to add a cuurent class to active page, my code is as ...
0
votes
0answers
66 views

filter built in columns types in edit-tags.php table

I am successfully filtering the header of the tags table in edit-tags.php add_filter('manage_edit-{custom_taxonomy}_columns', 'change_columns_header', 10, 3); function change_columns_header($columns) ...
0
votes
1answer
87 views

How do i search authors from search form using author's name

I am trying to use a search from authors, listings(i.e custom post type) products(i.e custom post type) I am able to search for custom post types but unable to do so for authors. I am using ...
0
votes
1answer
34 views

How to create new page can get custom field other post in wordpress

I want to create a new page eg: example.com/demo/2222 in which: demo is a page, 2222 is id of a post. This page can retrieve data from the custom field of post 2222 when i change 2222 to other id ...
0
votes
1answer
22 views

How to customize theme?

How do I access the WordPress files to customize pages and change the layout? I was given a username and password which gives me access to the add text, but not the actual code.
0
votes
1answer
18 views

Managing Custom Designed Content

I designed a simple page that contains a styled image element and a styled paragraph of text underneath. The image and paragraph of text are related, so that one will never exist without the other. ...
0
votes
0answers
48 views

WP Group posts by year(desc) > month(desc) > date(asc)

I have a custom category template to group posts by a custom field 'event_date'. 2 things I cannot figure out, correctly: grouping by year and month, and having those in descending order, while the ...
0
votes
1answer
146 views

Buddypress: New Tab and Page (Members Profile) [closed]

I want to add some pages/tabs to the user's buddypress profile. I'm using the following function to get at least one page working: function my_bp_nav_adder() { global $bp; ...
0
votes
2answers
31 views

How come there is no wp-content directory in wp theme

I am using Mochhost.com as my Hosting. Recently I have downloaded a free wp theme from wordpress.org. I unzipped the theme and I uploaded to my site at http://thegoods.info into my root directory, ...
0
votes
0answers
21 views

how to create page using add_menu_page?

how to create a new page in the administration menu, which will include (appearance -> header) and (Settings -> General) on one page?
0
votes
0answers
19 views

Creating Action Hooks For Automatic File Inclusion

I want to create a hook for automatic file inclusion in my plugin, but I am finding my stuck moments. May be somebody could help me out. Here is what I tried: $args = array( "url" =>"" ); ...
0
votes
0answers
26 views

Custom redirect pages with out URL in content post

Please help me, For example, my web link is abc.com and I have an article, and in article 2 link is abc.com/att/file.zip (this is the blog link attachments) and a joint the other loads is xyz.com/...
0
votes
0answers
36 views

how to add a menu page with elements?

I have this example plugin for creating a page in the admin panel: add_action( 'admin_menu', 'register_my_custom_menu_page' ); function register_my_custom_menu_page(){ add_menu_page( 'custom ...
0
votes
2answers
19 views

SAving PHP in custom wordpress option field

I have created a custom admin page, which has a bunch of option fields available. One of them I use to enter some HTML code, and I was wondering if it was possible to also add php into that field, for ...
0
votes
0answers
37 views

2 different templates for 1 query

I have a working query with some custom meta fields (among others ACF Gallery field) which displays news on "News" page. I have also second page named "Gallery" which is quering posts by gallery ...
0
votes
0answers
40 views

Is there a hack for using is_page() within the function.php file?

I've created a function in my functions.php that's called when the submit_form event is fired on the front-end. Here is the code: add_action( "wp_ajax_nopriv_submit_form", "submit_my_form" ); ...
0
votes
0answers
130 views

How to upload theme: Option Tree WordPress Theme Check Error

I am having a little problem uploading my theme to wordpress as the initial theme check fails with the below error.. I have integrated Option Tree into my team. But WordPress doesn't accept until the ...
0
votes
0answers
134 views

Wordpress customizer not saving any changes

I have been experiencing an issue, whenever I try to make changes in my Theme Customizer it shows fine in the live preview but when I open the website the changes are not visible, it looks like before....
0
votes
1answer
16 views

Does Wordpress support template resources/custom fields

I'm pretty new to Wordpress development but say I want, based on my theme's page template I want to create a custom variable. Ultimately the idea is to create a variable that appears as a field on ...
0
votes
0answers
24 views

Display older custom field in post loop from same category and same key?

This my first post, please help :D I want to display custom field from older post with same category and same key. Example in post loop: Post 1 <strong>(category Tech)</strong> - ...
0
votes
0answers
63 views

Add custom attributes to the individual blog table in multisite

I am adding custom product attribute to a multisite network. Currently the added custom attributes save on the default WordPress database. I have to store the data in corresponding blog database table ...
0
votes
0answers
23 views

How to separate website pages from the home page and make custom?

I have installed a theme on my wordpress and published some new links to my navigation. Until now i have my main "home page" customized and i want to costomize the next page "our products". But all my ...
0
votes
0answers
21 views

Advanced Layout through TinyMCE

I am trying to get through this problem with advanced layout, I've found here which works great if all of my pages had the same design. What I am trying to achieve is being able to have a different ...
0
votes
0answers
85 views

How to add custom sidebar on each single page?

I'm creating a book review site. I wanted the site with two columns (65% 35% respectively). On the left side as usual review of the books and other stuff should go, so no worries with that part. On ...
0
votes
0answers
67 views

How to add custom section in backend which will display information on frontend?

I'm newbie in wordpress so please dont judge. So what I want : I have post div like 1:featured image 2:title 3:category - in one div. I want to add one more custom section like one more "title" ...
0
votes
2answers
33 views

How to retrieve custom field values and save again as array

I am new to PHP and WordPress. I have this scenario. There are 4 custom fields saved in page, named: _custField1 _custField2 _custField3 _custField4 What I need to do now is to fetch their values ...
0
votes
0answers
32 views

show 404 page for url which contains unexisting post id

I created custom urls rewrite example : domain.com/post_id/image/image_name/ with rewrite rule it shows likes this : Domain.com/125/image/my-car-image/ it work fine but i want to show 404 not ...
0
votes
0answers
127 views

Image disapear in theme customization settings for zerif lite child theme

I have added theme customization settings for changing logo. I can successfully change image in theme customization. But when I change site url, it disappear from settings. I checked on site for ...
0
votes
0answers
26 views

Can we hide WordPress to prevent detection? [duplicate]

When you go for WPTD(WordPress theme detector), we get a result that it runs on WordPress and the plugins and theme it uses. Well, the theme details can be modified. But, I want it to say "This site ...
0
votes
1answer
20 views

Meta boxes not saving

I have a custom post with two custom meta boxes that I add using this tutorial:http://wptheming.com/2010/08/custom-metabox-for-post-type/ When I update the post, it disappears. My code: function ...
0
votes
1answer
112 views

Custom Select Query pagination not working properly

I have Custom Select Query joining two tables and displaying events older than current date. Everything works fine until I try to paginate it. <?php global $wpdb; $date = date("Y-m-d");...
0
votes
0answers
69 views

Custom post types display pending posts without login

I am having an issue in a custom post type ('place'). I can view the posts like "http://www.example.com/?post_type=place&p=9454" while i am logged in as any user from the front end.But i cant view ...
0
votes
0answers
55 views

loop all posts by category

I have custom post type and taxonomy. post_type = product taxonomy = Products 2 level of taxonomy. Living room -Sample tax under living room -more -more Kitchen -sample tax under Kitchen -more -more ...
0
votes
2answers
196 views

How to add image for custom taxonomy

I was trying to add category images for custom taxonomy I am using this plugin taxonomy-images but I don't know how to get that custom taxonomy image I tried to keep print apply_filters( 'taxonomy-...
0
votes
0answers
61 views

Create front-end input field based on search - auto-complete - select?

I'm trying to create a front-end category input field with auto-complete (search - auto-complete - select). I have around 35000 categories. What's the best way to do it, without slowing down page load ...
0
votes
2answers
34 views

How to define a static Home page

I am trying to create a web site with a static "home" page. But when I follow the "very clear instructions" and create a Home page I end up with two Home pages. But only one is listed in the pages to ...
0
votes
0answers
31 views

Perform a 'refresh' transport or open the site in new tab, after saving the theme in Customizer

Is it possible to perform a 'refresh' transport after saving the theme in Customizer? Can you help me about this? If it is not, then my plan B is just to open the site in new tab after saving the ...
0
votes
0answers
40 views

Redirect when “Log on to reply” is clicked

I have seen this question in the forums and it has been answered, but it is not working for me. I created a new page for a custom login form and managed to get it to show up almost everywhere when ...
0
votes
0answers
16 views

How to appoint different users to different pages?

I am having this problem, i need to separate subscribers(all one user type) into two different groups with access to different pages, pages restricted to one group is available to another though they ...
0
votes
0answers
464 views

Creating custom database table with crud operation

I am new to wordpress. I going to work on one project that is having 400 pages. Out of that only 3-4 pages are the dynamic pages and rest are the static pages. What I meant to say by this, most of ...
0
votes
2answers
139 views

Can readers download zip files from WordPress sites?

Is it possible to store zip files on WordPress and make links to them such that readers can download the files? I am thinking specifically of zip files that contain Mathematica applications (notebooks,...
0
votes
0answers
30 views

Link a page type with custom WP_query variable

Basicly i want the URL : http://localhost/brands/[brand-name] to be addressed to a page template single-brandname where "[brand-name]" is a custom variable introduced in permalink. The Main Brands ...
0
votes
1answer
58 views

Custom Single Post Type not referring to single-post-type.php File

I've defined a Custom Post type called "Press", I'm trying to modify the Single Posts template for that Custom Type. The single posts custom file is called "single-press.php" I've tried using an if ...