Customize WordPress output based on form inputs - php

I have a Google Sheets spreadsheet containing a list of links and resources pertaining to a particular topic. I want to create a WordPress page where I ask the user a branching series of questions (i.e. "which topics are you interested in?") And depending on the answers to those questions, display only the links that are relevant to them.
I am a newbie when it comes to WordPress but I do have experience in programming (mostly in Python).
How could I go about doing something like this?

You should inmerse a bit on wordpress development as programmer, i will explain a fast progress for learn it.. read this https://codex.wordpress.org/Theme_Development and this https://codex.wordpress.org/Hardening_WordPress too.
Then when you check some videos for how to create your own template..
Do a CPT [ Custom Post Type ] who's called links of topic or something like, then you can create an "Archive-Topic-Links" (Very important for a wordpress developer [ https://developer.wordpress.org/files/2014/10/wp-hierarchy.png ] which files can you create before or after one) who gonna iterate over all of them.. look at this.. [ https://generatewp.com/post-type/ ] and try to learn about how to use a CMB2 for create inputs in your cpt is it a free version of ACF.
With this you will have a 50% of your proyect then should be learn how to categorize and much more... but when you reach this 50%.. the other will be easy.
Ah, try to don't use much plugins make your code.. and other tip wordpress isn't very friendly for multilanguage
I hope this improve to you, mate and other to start the wordpress development.

If you want to integrate PHP with google spreadsheet, I will use the google api https://developers.google.com/sheets/api/quickstart/php, in this way you can read all rows and integrate with php wordpress

Related

Adding Google Analytics Dashboard to Custom Post Type [WordPress]

I have a theme in which I am attempting to add the plugin Google Analytics Dashboard's "sparkline" to the custom posts column. To make that a bit more clear, I need to add this:
To the columns here
And that's it! I'm just not well-versed with the PHP enough to know how to get this done. The analytics data appears out-of-the-box on all standard post types and some other custom ones, if that helps.
I would ask the developer for assistance, but he seems to have disappeared. Thanks in advance, and I'm hoping this is one of those quick, stupid situations where an easy answer can be shared with the greenhorn :)
Hello,
If you want to program solution by yourself of your team-it is not easy. You should use Google Analytics API for PHP. It is not possible to describe it at small peace of text,but, may be, following links will be helpful for you and your developer:
https://developers.google.com/analytics/devguides/reporting/core/v3/coreDevguide
http://code.google.com/p/google-api-php-client/downloads/list
https://developers.google.com/analytics/solutions/reporting

edit magento navigation without coding

I just recently started working with a Magento site, and so far I'm really not liking it. I need to remove a couple links from the main navigation, but I can't seem to find the option for it. I've googled it numerous times, and all I see are examples for coding the navigation. My question is, can you edit the site navigation like you can with say wordpress? Seeing how it's a cms I'd imagine the user should be able to make changes to the navigation using some type of interface, and without having to pull the files from the server and edit them.
Also just out of curiosity, for anyone experienced with Magento would you say it's a good choice for a cms? I've heard of it before, but haven't seen many sites that use it.
No!, so you have three options here.
Learn how to extend the navigation with the 100's of tutorials out there, it is really not that hard, assuming you have a theme you just have to edit app/design/frontend/[theme]/default/template/page/html/topmenu.phtml
Get an extension to do it for you.
Hire a developer to do it for you, we create a static block with installer for the html which make it slightly more user friendly to update in the future.
Stackoverflow is a bad place to ask questions like this, it is aimed at programmers and doing such a procedure is rudimentary stuff, I really hope you are a client trying to be cheap rather than someone who claims they can run this site.
Edit: The cms features are ok but you need to be able to code to set them all up so the end user can make the changes with WYSIWYG.
If you don't want to code for navigation then you can do below things
1) Create category and then Display Settings=>Display Mode=>static block only and Display Settings=>CMS Block=>static block name. In static block u can include in page url or custom page
2)You need to hire developer
If you're using Magento and have an integrated WordPress blog, it's possible to design a completely custom menu in the WordPress Admin using the menu builder. You have complete control over what menu items you want and the hierarchy of each item.
To get this to work, you need to integrate your WordPress blog using WordPress Integration in full integration mode. Your Magento template also has to be using the default Topmenu block.

What kind of website news posting methods are there?

I have a custom made website and right now each time I want to put some news on the front page of my site I have to edit the HTML and then re-upload via ftp.
I'm trying to find a simple feature/program that will allow me to post news to my site without manually having to edit the html and possibly allowing it to have comments.
I've tried wordpress but that seems to have too many features. For example it makes me pick a template, which I don't need because I have a custom website. And it has categories, archives, etc. I don't need all of that.
Any suggestions?
wordpress is quite lightweight imo, but if you think it's too big, you might want to use one of these: http://web.appstorm.net/roundups/self-publishing/10-ultra-lightweight-cmses-for-simple-projects/
Develope your own. Shouldn't take more than a couple of hours.

Does anyone know of a good video library script?

Our company now has over 40 tutorial videos and I'm looking for a video gallery app.
Something that would be similar to:
http://tv.telerik.com/
or
http://umbraco.org/documentation/videos/for-site-builders/datatypes/using-datatypes-that-have-prevalues
Does anyone know of any PHP or asp.net solutions?
I'd rather not re-invent the wheel.
As there are a ton of hidden functions like sorting, most popular, tagging, comments, etc.
I would suggest to use any popular CMS. For WordPress, here is what you can do. You can use many of it's out of the box features -
each video is created as a blog-post. So u have comments, tags too.
each blog-post will have a custom parameter as video url
while rendering a single post, take this custom parameter and build HTML/embded video object with your flash player.
these blogposts can be moderated my multiple wordpress users
comes with plenty of free themes to choose. Enjoy!
customize the archive page, to have a thumbnail like gallery page.
use a ratings plugin to rate blog-posts.
For now onwards, start thinking of customizing a CMS rather reinventing :)
- Ankit

best approaches in designing for wordpress a theme, need some advice

I'll be building a Wordpress theme and would be needing some advice in implementing it. here's the outline of my design. I will using 960.gs for the css layout.
Now my worries is what approach will i be using to the services(1,2,3...)? Will I use widget fort hat? Those boxes should be easy to maintain and update. (I've been a Joomla user so, So if I had code it in joomla I had used module for that approach. Is there a similar approach to Wordpress? that you can easily turn on/off the boxes? )
How can I change the look for each page? Some services will not be render in some pages (example, service 1-4 will not be avialabe for 'about page')
Thanks! :)
Download Free ‘Starkers’ Wordpress theme at Here
and following the instructions from Chris Coyer of CSS Tricks at Here
This really did help me. The screen cast from Chris is a three part series and you would love it.
Update One:
After you do this. I would advice you to get free themes online and see how things are done in different templates. I will help you improve a great deal.
Update Two:
To prevent some widgets from showing on different pages, you would to remove the function that creates that widget from that particular template. Every widget is like a plugin and a function is used to render it on screen.
Hope this helps.

Categories